1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-06 11:02:41 +03:00

Hack: log commands with pids to /tmp/git.log

This commit is contained in:
Stefan Haller
2025-05-02 18:20:10 +02:00
parent c2aab81f54
commit 815829d52c
8 changed files with 62 additions and 3 deletions

View File

@@ -71,7 +71,7 @@ func (self *MainBranches) GetMergeBase(refName string) string {
output, _ := self.cmd.New(
NewGitCmd("merge-base").Arg(refName).Arg(mainBranches...).
ToArgv(),
).DontLog().RunWithOutput()
).DontLog().SuppressLogHack().RunWithOutput()
return ignoringWarnings(output)
}