aboutsummaryrefslogtreecommitdiff
path: root/rsh.c
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-01-13 17:28:16 -0500
committerJunio C Hamano <junkio@cox.net>2007-01-14 21:17:27 -0800
commitc3e3cd4bf8c94cc2f4fa8d8f7751553037e06004 (patch)
tree662c630e258a44ad1649048847f4b41f23b0141f /rsh.c
parentdccd0c2abdb958daf6f168ba925b67441dc6be61 (diff)
downloadgit-c3e3cd4bf8c94cc2f4fa8d8f7751553037e06004.tar.gz
git-c3e3cd4bf8c94cc2f4fa8d8f7751553037e06004.tar.xz
Hash tags by commit SHA1 in git-describe.
If a project has a very large number of tags then git-describe will spend a good part of its time looping over the tags testing them one at a time to determine if it matches a given commit. For 10 tags this is not a big deal, but for hundreds of tags the time could become considerable if we don't find an exact match for the input commit and we need to walk back along the history chain. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'rsh.c')
0 files changed, 0 insertions, 0 deletions