From 8d36c8b3c14547fa0233f3ef0640e36eccd9d0b2 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Sun, 25 Jan 2026 11:47:07 +0100 Subject: [PATCH] Don't log the "git rev-list" call when marking bisect commits When marking commits as good or bad during a bisect, a "git rev-list" call would appear in the Command log. This is confusing, it's an internal detail that is not interesting for the user to see. --- pkg/commands/git_commands/bisect.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/git_commands/bisect.go b/pkg/commands/git_commands/bisect.go index 300613e16..d3dff54d4 100644 --- a/pkg/commands/git_commands/bisect.go +++ b/pkg/commands/git_commands/bisect.go @@ -154,7 +154,7 @@ func (self *BisectCommands) IsDone() (bool, []string, error) { candidates := []string{} cmdArgs := NewGitCmd("rev-list").Arg(newHash).ToArgv() - err := self.cmd.New(cmdArgs).RunAndProcessLines(func(line string) (bool, error) { + err := self.cmd.New(cmdArgs).DontLog().RunAndProcessLines(func(line string) (bool, error) { hash := strings.TrimSpace(line) if status, ok := info.statusMap[hash]; ok {