Always perfer annotated tags in git-describe.
authorShawn O. Pearce <spearce@spearce.org>
Sat, 13 Jan 2007 22:27:52 +0000 (17:27 -0500)
committerJunio C Hamano <junkio@cox.net>
Mon, 15 Jan 2007 05:17:27 +0000 (21:17 -0800)
commitdccd0c2abdb958daf6f168ba925b67441dc6be61
tree77fceeab856a8c25d4e13c41f9533072f5a5c3da
parentc14261eaa297504799e3b21ecbd751edbae912c0
Always perfer annotated tags in git-describe.

Several people have suggested that its always better to describe
a commit using an annotated tag, and to only use a lightweight tag
if absolutely no annotated tag matches the input commit.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-describe.c