summaryrefslogtreecommitdiff
path: root/refs.c
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2006-09-21 22:07:01 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-09-22 03:54:43 (GMT)
commitafdcec73660737d0ac28a808829ab76587a9befa (patch)
tree1041aa5b4fb6dc3c6d1fd41b6acb9418e80873d6 /refs.c
parent913c983e0481b477ccc11fa72ebeb0d6ec8d06aa (diff)
downloadgit-afdcec73660737d0ac28a808829ab76587a9befa.zip
git-afdcec73660737d0ac28a808829ab76587a9befa.tar.gz
git-afdcec73660737d0ac28a808829ab76587a9befa.tar.bz2
show-branch: mark active branch with a '*' again
This was lost in the packed-ref updates. The original test was a bit dubious, so I cleaned that up, too. It fixes the case when the current HEAD is refs/heads/bla/master: the original test was true for both bla/master _and_ master. However, it shares a hard-to-fix bug with the original test: if the current HEAD is refs/heads/master, and there is a branch refs/heads/heads/master, then both are marked active. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'refs.c')
0 files changed, 0 insertions, 0 deletions