git-merge: fix confusion between tag and branch
authorJunio C Hamano <junkio@cox.net>
Sun, 3 Dec 2006 00:58:30 +0000 (16:58 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 3 Dec 2006 00:58:30 +0000 (16:58 -0800)
In a repository with core.warnambiguousrefs turned off, and with
a branch and a tag that have the same name 'frotz',

git merge frotz

would merge the commit pointed at by the tag 'frotz' but
incorrectly would identify what was merged as 'branch frotz' in
the merge message.

Signed-off-by: Junio C Hamano <junkio@cox.net>
No differences found