1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-03-17 21:18:31 +02:00

show file list when diffing commits

This commit is contained in:
Jesse Duffield 2020-02-25 21:36:34 +11:00
parent d0ab747479
commit 02c497fad6

View File

@ -967,7 +967,7 @@ func (c *GitCommand) ResetSoft(ref string) error {
// DiffCommits show diff between commits
func (c *GitCommand) DiffCommits(sha1, sha2 string) (string, error) {
return c.OSCommand.RunCommandWithOutput("git diff --color %s %s", sha1, sha2)
return c.OSCommand.RunCommandWithOutput("git diff --color --stat -p %s %s", sha1, sha2)
}
// CreateFixupCommit creates a commit that fixes up a previous commit