summaryrefslogtreecommitdiff
path: root/builtin-rev-parse.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-02-11 09:22:16 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-02-11 09:22:16 -0800
commit9e5b80cd87a511f3403b6f88f87ef40844695f6b (patch)
tree3b24c61a7001a0cda2310e8d88f3cc0231dff567 /builtin-rev-parse.c
parentMerge branch 'maint' (diff)
downloadtgif-9e5b80cd87a511f3403b6f88f87ef40844695f6b.tar.xz
Squelch overzealous "ignoring dangling symref" in an empty repository
057e713 (Warn use of "origin" when remotes/origin/HEAD is dangling, 2009-02-08) tried to warn dangling refs/remotes/origin/HEAD only when "origin" was used to refer to it. There was one corner case a symref is expected to be dangling and this warning is unwarranted: HEAD in an empty repository. This squelches the warning for this special case. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-rev-parse.c')
0 files changed, 0 insertions, 0 deletions