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:
@ -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 != "" {
|
||||
|
Reference in New Issue
Block a user