From 2b152dcf5e5ba47e8878aacbf954ad3065e77b61 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Mon, 15 Sep 2025 17:01:14 +0200 Subject: [PATCH] Don't log the git rev-list command that we use for IsBranchMerged When you delete a branch, we call this function to determine whether we need to ask for confirmation of not. We don't want to log this, because it's not a command that a user would normally use as part of this operation. --- pkg/commands/git_commands/branch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/git_commands/branch.go b/pkg/commands/git_commands/branch.go index c5c81e223..f4c491d63 100644 --- a/pkg/commands/git_commands/branch.go +++ b/pkg/commands/git_commands/branch.go @@ -288,7 +288,7 @@ func (self *BranchCommands) IsBranchMerged(branch *models.Branch, mainBranches * Arg("--"). ToArgv() - stdout, _, err := self.cmd.New(cmdArgs).RunWithOutputs() + stdout, _, err := self.cmd.New(cmdArgs).DontLog().RunWithOutputs() if err != nil { return false, err }