summaryrefslogtreecommitdiff
path: root/t/t4101
diff options
context:
space:
mode:
authorLibravatar Anders Kaseorg <andersk@ksplice.com>2010-12-09 01:46:08 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-12-09 11:20:26 -0800
commit3cfa4db3226ccef8845589029090d9398b207ba3 (patch)
tree55965119e963088524d90bb0181bf92650e4a236 /t/t4101
parentdescribe: Do not use a flex array in struct commit_name (diff)
downloadtgif-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 't/t4101')
0 files changed, 0 insertions, 0 deletions