project search: Skip loading of gitignored paths when their descendants will never match an inclusion/exclusion query (#42968)

Co-authored-by: dino <dinojoaocosta@gmail.com>

Related-to: #38799

Release Notes:

- Improved project search performance with "Also search files ignored by
configuration" combined with file inclusion/exclusion queries.

---------

Co-authored-by: dino <dinojoaocosta@gmail.com>
58fe19d55ePiotr Osiewicz committed on 11/20/2025, 5:44:55 PM· committed by GitHubparent2a40dcf
4 files changedLine totals unavailable