From 7f957f059b3527638f462ea1172d9fd375686730 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Sun, 11 Jan 2026 20:00:59 +0100 Subject: [PATCH] Don't log the "git ls-remote" call when opening a PR When opening a PR, a "git ls-remote" 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/remote.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/git_commands/remote.go b/pkg/commands/git_commands/remote.go index 82a9d6a46..cfcb85091 100644 --- a/pkg/commands/git_commands/remote.go +++ b/pkg/commands/git_commands/remote.go @@ -85,6 +85,6 @@ func (self *RemoteCommands) GetRemoteURL(remoteName string) (string, error) { Arg("--get-url", remoteName). ToArgv() - url, err := self.cmd.New(cmdArgs).RunWithOutput() + url, err := self.cmd.New(cmdArgs).DontLog().RunWithOutput() return strings.TrimSpace(url), err }