diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-02-11 09:22:16 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-02-11 09:22:16 -0800 |
commit | 9e5b80cd87a511f3403b6f88f87ef40844695f6b (patch) | |
tree | 3b24c61a7001a0cda2310e8d88f3cc0231dff567 /builtin-rev-parse.c | |
parent | Merge branch 'maint' (diff) | |
download | tgif-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