mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
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.
This commit is contained in:
parent
bbef570225
commit
2b152dcf5e
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue