diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2021-01-23 19:58:16 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-01-23 17:14:07 -0800 |
commit | 6a9372f4ef218d189120e969f6dc01f9fcd5317a (patch) | |
tree | acba06fae0bfc1b0f515c92a4e815a2ec48f6c4d /dir.c | |
parent | repository: add repo reference to index_state (diff) | |
download | tgif-6a9372f4ef218d189120e969f6dc01f9fcd5317a.tar.xz |
name-hash: use trace2 regions for init
The lazy_init_name_hash() populates a hashset with all filenames and
another with all directories represented in the index. This is run only
if we need to use the hashsets to check for existence or case-folding
renames.
Place trace2 regions where there is already a performance trace.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir.c')
0 files changed, 0 insertions, 0 deletions