ignore: skip loading unreachable ignore files
Before adoption: this commit came in with the history the project adopted, so no landing records it.
When parallelism isn't used (e.g., when sorting results), then it's possible in some cases for the `ignore` crate to still try and load gitignore files inside of directories that are never descended into. This can occur when `--max-depth` is used, or even just when a directory is skipped for some other reason. Fixes #2565, PR #3496
authored by jif · committed by GitHub · parent dffd776 · Browse files · 1 file+31 added−3 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+31 added−3 removed
- other:+31 added−3 removed