git-describe: really prefer tags only.
authorJunio C Hamano <junkio@cox.net>
Tue, 27 Dec 2005 22:36:49 +0000 (14:36 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 28 Dec 2005 01:57:27 +0000 (17:57 -0800)
commit635d413430d5419cfd0ac18e2318cf46c1984750
tree03c16ffcb95419724c61332964e78bc7e222f249
parent908e5310b958619559d34b0b6da122f058faa47e
git-describe: really prefer tags only.

Often there are references other than annotated tags under
refs/tags hierarchy that are used to "keep things just in case".
default to use annotated tags only, still leaving the option to
use any ref with --all flag.

Signed-off-by: Junio C Hamano <junkio@cox.net>
describe.c