From 02c497fad641e8c41a99374162609c35d45ddd10 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Tue, 25 Feb 2020 21:36:34 +1100 Subject: show file list when diffing commits --- pkg/commands/git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg') diff --git a/pkg/commands/git.go b/pkg/commands/git.go index deb3c43e4..7aceb4610 100644 --- a/pkg/commands/git.go +++ b/pkg/commands/git.go @@ -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 -- cgit v1.2.3