Code

Teach git-describe to use peeled ref information when scanning tags
authorShawn O. Pearce <spearce@spearce.org>
Sun, 24 Feb 2008 08:07:25 +0000 (03:07 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 24 Feb 2008 18:01:24 +0000 (10:01 -0800)
commitfeededd05b551a02a95fe2a736e9d5f688b86119
treed719ce9319e2041d3638fa1dab2149a5807de62b
parent0ae91be0e1fac3ff31675f0ec2c7ebf2bb5c1be6
Teach git-describe to use peeled ref information when scanning tags

By using the peeled ref information inside of the packed-refs file we
can avoid opening tag objects to obtain the commits they reference.
This speeds up git-describe when there are a large number of tags
in the repository as we have less objects to parse before we can
start commit matching.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-describe.c