Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-05-27 02:09:51 +0400
committerJunio C Hamano <gitster@pobox.com>2008-05-27 02:09:56 +0400
commitf8fcb57bb45e8d3d8f7921377d6c2503590efc3c (patch)
tree507b5e2cd7d171006447032f031e2157e451c140 /Documentation/git-rev-parse.txt
parenta2f5be500839bdf75e4721cc68642b821128b7b9 (diff)
show-branch --current: do not barf on detached HEAD
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>
Diffstat (limited to 'Documentation/git-rev-parse.txt')
0 files changed, 0 insertions, 0 deletions