Add --include-untracked flag to stash show command

This commit is contained in:
Matteo Golinelli 2024-09-18 20:05:34 +02:00 committed by Jesse Duffield
parent 16f5348790
commit 343a3e466a

View file

@ -84,6 +84,7 @@ func (self *StashCommands) ShowStashEntryCmdObj(index int) oscommands.ICmdObj {
cmdArgs := NewGitCmd("stash").Arg("show").
Arg("-p").
Arg("--stat").
Arg("--include-untracked").
Arg(fmt.Sprintf("--color=%s", self.UserConfig().Git.Paging.ColorArg)).
Arg(fmt.Sprintf("--unified=%d", self.AppState.DiffContextSize)).
ArgIf(self.AppState.IgnoreWhitespaceInDiffView, "--ignore-all-space").