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 /commit.c | |
| parent | repository: add repo reference to index_state (diff) | |
| download | git-6a9372f4ef218d189120e969f6dc01f9fcd5317a.tar.gz git-6a9372f4ef218d189120e969f6dc01f9fcd5317a.zip | |
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 'commit.c')
0 files changed, 0 insertions, 0 deletions
