From dab4dcce0c5a3eb63e797a332aeaf1143e169238 Mon Sep 17 00:00:00 2001 From: Lucas Date: Sat, 14 Dec 2019 00:31:20 +0000 Subject: [PATCH] Use correct variable --- utils/shgit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/shgit b/utils/shgit index 15bd9f3..eb3a5b2 100644 --- a/utils/shgit +++ b/utils/shgit @@ -18,7 +18,7 @@ shgit() if ! name=$(git symbolic-ref -q --short HEAD); then name=$(git rev-parse --short HEAD 2>/dev/null) - name=${hash:-?} + name=${name:-?} fi rb=