diff options
author | Anders Kaseorg <andersk@ksplice.com> | 2010-12-09 01:46:08 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-12-09 11:20:26 -0800 |
commit | 3cfa4db3226ccef8845589029090d9398b207ba3 (patch) | |
tree | 55965119e963088524d90bb0181bf92650e4a236 /t/t3001-ls-files-others-exclude.sh | |
parent | describe: Do not use a flex array in struct commit_name (diff) | |
download | tgif-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/t3001-ls-files-others-exclude.sh')
0 files changed, 0 insertions, 0 deletions