Add explicit --no-ext-diff arg to CommitCommands.ShowCmdObj

We do this for ShowFileDiffCmdObj and WorktreeFileDiffCmdObj too, so why not
here.
This commit is contained in:
Stefan Haller 2023-08-03 11:04:48 +02:00
parent 3a54089859
commit c67aa49856
2 changed files with 5 additions and 4 deletions

View file

@ -201,6 +201,7 @@ func (self *CommitCommands) ShowCmdObj(sha string, filterPath string, ignoreWhit
cmdArgs := NewGitCmd("show").
Arg("--submodule").
Arg("--no-ext-diff").
Arg("--color="+self.UserConfig.Git.Paging.ColorArg).
Arg(fmt.Sprintf("--unified=%d", contextSize)).
Arg("--stat").