Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
show-branch --current: do not barf on detached HEAD
author
Junio C Hamano
<gitster@pobox.com>
Mon, 26 May 2008 22:09:51 +0000
(15:09 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 26 May 2008 22:09:56 +0000
(15:09 -0700)
The code assumed that there always is the current branch, but the result
from resolve_ref() on detached HEAD does not even start with "refs/heads/".
Originally noticed and fixed by Stephan Beyer.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
raw
|
patch
| inline |
side by side
(from:
f8fcb57
)
No differences found