From 6fc3290a05a76f3e68fcbf5500c29a0c6f13da02 Mon Sep 17 00:00:00 2001 From: Glenn Vriesman Date: Wed, 19 Feb 2020 16:28:55 +0100 Subject: [PATCH] Reflog: Use 20 sha digits instead of 7 Signed-off-by: Glenn Vriesman --- pkg/commands/git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/git.go b/pkg/commands/git.go index 7f9849041..9b4fbd544 100644 --- a/pkg/commands/git.go +++ b/pkg/commands/git.go @@ -1105,7 +1105,7 @@ func (c *GitCommand) FetchRemote(remoteName string) error { } func (c *GitCommand) GetReflogCommits() ([]*Commit, error) { - output, err := c.OSCommand.RunCommandWithOutput("git reflog") + output, err := c.OSCommand.RunCommandWithOutput("git reflog --abbrev=20") if err != nil { return nil, err }