From e421e815c83cbace74dd8c5f88b175806b2bb12a Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 24 May 2016 13:40:08 +0200 Subject: remote HEAD ignorieren --- bash-git-prompt.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash-git-prompt.in') 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 ] && \ -- cgit v1.2.3-70-g09d2