dir: report number of visited directories and paths with trace2
authorElijah Newren <newren@gmail.com>
Wed, 12 May 2021 17:28:15 +0000 (17:28 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 May 2021 23:45:02 +0000 (08:45 +0900)
commit7fe1ffdafa56b8453a47a40b866d029f24a56d76
tree178264f1a1349c42186beae4af727d21a4d66805
parent7f9dd87922c9065c8adcea1469c3caf3b3af2afa
dir: report number of visited directories and paths with trace2

Provide more statistics in trace2 output that include the number of
directories and total paths visited by the directory traversal logic.
Subsequent patches will take advantage of this to ensure we do not
unnecessarily traverse into ignored directories.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c
dir.h
t/t7063-status-untracked-cache.sh