This fixes the performance regression reported at [1], and also performs a few other cleanups found while investigating the issue. [1] https://lore.kernel.org/git/CAJB88a23uU2WfB0mnB9NfNbtgmABhNOWNOEMBt7rRVu7uL_C9A@xxxxxxxxxxxxxx/ Elijah Newren (4): dir: fix a few confusing comments dir, clean: avoid disallowed behavior clean: consolidate handling of ignored parameters clean: optimize and document cases where we recurse into subdirectories builtin/clean.c | 49 ++++++++++++++++++++++++++++++++++++++----------- dir.c | 15 ++++++++++----- 2 files changed, 48 insertions(+), 16 deletions(-) base-commit: 20514004ddf1a3528de8933bc32f284e175e1012 Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-806%2Fnewren%2Fclean-cleanups-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-806/newren/clean-cleanups-v1 Pull-Request: https://github.com/git/git/pull/806 -- gitgitgadget