summaryrefslogtreecommitdiff
path: root/diff-stages.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2005-11-21 00:43:12 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2005-11-21 00:43:12 -0800
commit924215024c72bc359fad920010dd6b356a5140c8 (patch)
tree339319e60db7b3f96f8c711407b135a54da7aa2e /diff-stages.c
parentFix "do not DWIM" patch to enter_repo" (diff)
downloadtgif-924215024c72bc359fad920010dd6b356a5140c8.tar.xz
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>
Diffstat (limited to 'diff-stages.c')
0 files changed, 0 insertions, 0 deletions