mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 04:15:48 +02: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:
parent
079c5a9905
commit
b07ce19b9a
3 changed files with 6 additions and 6 deletions
|
@ -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 != "" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue