author | Junio C Hamano <junkio@cox.net> | |
Mon, 21 Nov 2005 08:43:12 +0000 (00:43 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 21 Nov 2005 08:43:12 +0000 (00:43 -0800) | ||
commit | 924215024c72bc359fad920010dd6b356a5140c8 | |
tree | 339319e60db7b3f96f8c711407b135a54da7aa2e | tree | snapshot |
parent | e0a87193d3f2b78b7b687405c0315e1517d36912 | commit | diff |
Make sure heads/foo and tags/foo do not confuse things.
When both heads/foo and tags/foo exist, get_sha1_basic("foo")
picked up the tag without complaining, which is quite confusing.
Make sure we require unambiguous form, "heads/foo" or "tags/foo"
in such cases.
Signed-off-by: Junio C Hamano <junkio@cox.net>
When both heads/foo and tags/foo exist, get_sha1_basic("foo")
picked up the tag without complaining, which is quite confusing.
Make sure we require unambiguous form, "heads/foo" or "tags/foo"
in such cases.
Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_name.c | diff | blob | history | |
show-branch.c | diff | blob | history |