aboutsummaryrefslogtreecommitdiff
path: root/trace.c
diff options
context:
space:
mode:
authorAnders Kaseorg <andersk@ksplice.com>2010-12-09 01:46:08 -0500
committerJunio C Hamano <gitster@pobox.com>2010-12-09 11:20:26 -0800
commit3cfa4db3226ccef8845589029090d9398b207ba3 (patch)
tree55965119e963088524d90bb0181bf92650e4a236 /trace.c
parent1e1ade1833db42a75f2792b4472748721f73c827 (diff)
downloadgit-3cfa4db3226ccef8845589029090d9398b207ba3.tar.gz
git-3cfa4db3226ccef8845589029090d9398b207ba3.tar.xz
describe: Store commit_names in a hash table by commit SHA1
describe is currently forced to look up the commit at each tag in order to store the struct commit_name pointers in struct commit.util. For --exact-match queries, those lookups are wasteful. In preparation for removing them, put the commit_names into a hash table, indexed by commit SHA1, that can be used to quickly check for exact matches. Signed-off-by: Anders Kaseorg <andersk@ksplice.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'trace.c')
0 files changed, 0 insertions, 0 deletions