describe: Use for_each_rawref
authorAnders Kaseorg <andersk@ksplice.com>
Thu, 9 Dec 2010 06:42:25 +0000 (01:42 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 9 Dec 2010 19:20:25 +0000 (11:20 -0800)
commit56a5f3afa74c70261dd2319ad76a6810e102026c
treef49156d35a6e609739d336657a49144bb1e24d21
parent6079ec6680da5e40d15d981c24051e9bf5c226fc
describe: Use for_each_rawref

Don't waste time checking for dangling refs; they wouldn't affect the
output of 'git describe' anyway.  Although this does not gain much
performance by itself, it does in conjunction with the next commits.

Signed-off-by: Anders Kaseorg <andersk@ksplice.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/describe.c