diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2021-01-23 22:58:16 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-01-24 04:14:07 +0300 |
commit | 6a9372f4ef218d189120e969f6dc01f9fcd5317a (patch) | |
tree | acba06fae0bfc1b0f515c92a4e815a2ec48f6c4d /dir.h | |
parent | 1fd9ae517c45294a01466aad0d38f99c7893d814 (diff) |
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.h')
0 files changed, 0 insertions, 0 deletions