From b74107f2baec4727f794df50df73dbce0cc48cc2 Mon Sep 17 00:00:00 2001 From: Glenn Vriesman Date: Tue, 4 Feb 2020 12:51:16 +0100 Subject: [PATCH] Use 8 instead of 7 digit long sha Signed-off-by: Glenn Vriesman --- pkg/commands/commit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/commit.go b/pkg/commands/commit.go index 83c739899..740bb5209 100644 --- a/pkg/commands/commit.go +++ b/pkg/commands/commit.go @@ -64,5 +64,5 @@ func (c *Commit) GetDisplayStrings(isFocused bool) []string { tagString = utils.ColoredString(strings.Join(c.Tags, " "), color.FgMagenta) + " " } - return []string{shaColor.Sprint(c.Sha[:7]), actionString + tagString + defaultColor.Sprint(c.Name)} + return []string{shaColor.Sprint(c.Sha[:8]), actionString + tagString + defaultColor.Sprint(c.Name)} }