summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbash-git-prompt.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash-git-prompt.in b/bash-git-prompt.in
index c9ac219..2f40afe 100755
--- a/bash-git-prompt.in
+++ b/bash-git-prompt.in
@@ -28,7 +28,7 @@ then
echo "$status" | grep -q "^.\S" && wtClean=false || wtClean=true
echo "$status" | grep -q "^\S" && idxClean=false || idxClean=true
- [ $(git show-ref HEAD "${branch}" --head -s | \
+ [ $(git show-ref "${branch}" --head -s | \
uniq | \
wc -l
) -eq 1 ] && \