Re: [PATCH v3 2/8] [RFC] dir: report number of visited directories and paths with trace2
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 10, 2021, 05:00 UTC
- Message-ID
- <xmqqfsyvrxmh.fsf@gitster.g>
- In-Reply-To
- <8b511f228af8e047d8b38159da658b10174c40e8.1620503945.git.gitgitgadget@gmail.com>
"Elijah Newren via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 6 quoted lines
> From: Elijah Newren <newren@gmail.com> > > 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.
And this change is the reason behind how the call to the trace statistics helper is now outside the "if (untracked)" block after patch 1/8; makes sense to me.