diff options
Diffstat (limited to 'pkg/commands/git.go')
-rw-r--r-- | pkg/commands/git.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/pkg/commands/git.go b/pkg/commands/git.go index 6bf74b864..5958886c3 100644 --- a/pkg/commands/git.go +++ b/pkg/commands/git.go @@ -1021,11 +1021,6 @@ func (c *GitCommand) ResetSoft(ref string) error { return c.OSCommand.RunCommand("git reset --soft " + ref) } -// DiffCommits show diff between commits -func (c *GitCommand) DiffCommits(sha1, sha2 string) (string, error) { - return c.OSCommand.RunCommandWithOutput("git diff --color=%s --stat -p %s %s", c.colorArg(), sha1, sha2) -} - // CreateFixupCommit creates a commit that fixes up a previous commit func (c *GitCommand) CreateFixupCommit(sha string) error { return c.OSCommand.RunCommand("git commit --fixup=%s", sha) |