author | Junio C Hamano <gitster@pobox.com> | |
Wed, 11 Feb 2009 17:22:16 +0000 (09:22 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 11 Feb 2009 17:22:16 +0000 (09:22 -0800) | ||
commit | 9e5b80cd87a511f3403b6f88f87ef40844695f6b | |
tree | 3b24c61a7001a0cda2310e8d88f3cc0231dff567 | tree | snapshot |
parent | aff4e8dc217bdde9276e634ea7bf92adf926e573 | commit | diff |
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>
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>
sha1_name.c | diff | blob | history |