summaryrefslogtreecommitdiffstats
path: root/sequencer.h
diff options
context:
space:
mode:
authorAnh Le <anh@canva.com>2022-11-04 00:05:00 +0100
committerTaylor Blau <me@ttaylorr.com>2022-11-05 01:28:28 +0100
commit89aaab11a34d9b4a7421fbd10a0e399135b2dc2c (patch)
tree70e056b394dde20a1a4e19d680dedb91ad5799ff /sequencer.h
parentThe seventh batch (diff)
downloadgit-89aaab11a34d9b4a7421fbd10a0e399135b2dc2c.tar.xz
git-89aaab11a34d9b4a7421fbd10a0e399135b2dc2c.zip
index: add trace2 region for clear skip worktree
When using sparse checkout, clear_skip_worktree_from_present_files() must enumerate index entries to find ones with the SKIP_WORKTREE bit to determine whether those index entries exist on disk (in which case their SKIP_WORKTREE bit should be removed). In a large repository, this may take considerable time depending on the size of the index. Add a trace2 region to surface this information, keeping a count of how many paths have been checked. Separately, keep counts after a full index is materialized. Signed-off-by: Anh Le <anh@canva.com> Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'sequencer.h')
0 files changed, 0 insertions, 0 deletions