mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-28 16:02:01 +03:00
show file list when diffing commits
This commit is contained in:
@ -967,7 +967,7 @@ func (c *GitCommand) ResetSoft(ref string) error {
|
|||||||
|
|
||||||
// DiffCommits show diff between commits
|
// DiffCommits show diff between commits
|
||||||
func (c *GitCommand) DiffCommits(sha1, sha2 string) (string, error) {
|
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
|
// CreateFixupCommit creates a commit that fixes up a previous commit
|
||||||
|
Reference in New Issue
Block a user