8 chars for short ref sha
Anirudh Oppiliappan x@icyphox.sh
Mon, 16 Aug 2021 14:39:19 +0530
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
prompt/git.go
→
prompt/git.go
@@ -31,7 +31,7 @@ if ref.IsBranch() {
name, _ := ref.Branch().Name() return name } else { - return ref.Target().String()[:7] + return ref.Target().String()[:8] } }