summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-05-24 13:40:08 +0200
committerErich Eckner <git@eckner.net>2016-05-24 13:40:08 +0200
commite421e815c83cbace74dd8c5f88b175806b2bb12a (patch)
tree5407399e1d385c2b9433ac8937a017ed5911d018
parent2fdae76a02418e54c9e97aa4e33205392d5f9bb7 (diff)
downloadbash-git-prompt-e421e815c83cbace74dd8c5f88b175806b2bb12a.tar.xz
remote HEAD ignorieren
-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 ] && \