Use correct variable
This commit is contained in:
parent
8362f872f4
commit
dab4dcce0c
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ shgit()
|
||||||
|
|
||||||
if ! name=$(git symbolic-ref -q --short HEAD); then
|
if ! name=$(git symbolic-ref -q --short HEAD); then
|
||||||
name=$(git rev-parse --short HEAD 2>/dev/null)
|
name=$(git rev-parse --short HEAD 2>/dev/null)
|
||||||
name=${hash:-?}
|
name=${name:-?}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rb=
|
rb=
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue