1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

Add --stat -p to diff args in diffing mode

This is consistent with what we do for showing single commits (with git show),
and I find it very useful.
This commit is contained in:
Stefan Haller
2024-08-25 14:04:54 +02:00
parent 079c5a9905
commit b07ce19b9a
3 changed files with 6 additions and 6 deletions

View File

@ -22,7 +22,7 @@ func NewDiffHelper(c *HelperCommon) *DiffHelper {
}
func (self *DiffHelper) DiffArgs() []string {
output := []string{self.c.Modes().Diffing.Ref}
output := []string{"--stat", "-p", self.c.Modes().Diffing.Ref}
right := self.currentDiffTerminal()
if right != "" {