Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2008-02-24 11:07:28 +0300
committerJunio C Hamano <gitster@pobox.com>2008-02-24 21:01:24 +0300
commit8a5a1884e93564cb1f46a73184d083a5181d573b (patch)
tree7c702b2f8515acfc4e92e3753784ff0455036f19 /Documentation
parentfeededd05b551a02a95fe2a736e9d5f688b86119 (diff)
Avoid accessing non-tag refs in git-describe unless --all is requested
If we aren't going to use a ref there is no reason for us to open its object from the object database. This avoids opening any of the head commits reachable from refs/heads/ unless they are also reachable through the commit we have been asked to describe and we need to walk through it to find a tag. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions