summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Vriesman <glenn.vriesman@gmail.com>2020-02-04 12:51:16 +0100
committerJesse Duffield <jessedduffield@gmail.com>2020-02-09 23:47:22 +1100
commitb74107f2baec4727f794df50df73dbce0cc48cc2 (patch)
tree3a2e704c41e06126133efaafc10018dbf105935f
parent0cd91a10c6038b66ecee3c1971b26ff8436f2a49 (diff)
Use 8 instead of 7 digit long sha
Signed-off-by: Glenn Vriesman <glenn.vriesman@gmail.com>
-rw-r--r--pkg/commands/commit.go2
1 files changed, 1 insertions, 1 deletions
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)}
}