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

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/58fe19d55ea339270cd01d3398dc8f9e7f4c04bf)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 58fe19d55ea339270cd01d3398dc8f9e7f4c04bf

Requested commit: 58fe19d55ea339270cd01d3398dc8f9e7f4c04bf

Commit: 58fe19d55ea339270cd01d3398dc8f9e7f4c04bf

Tree: b7ec5a358b3f5360c600eb3bee4cde683920a48d

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
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>
```

## Parents

- [2a40dcfd770302bbb8483a21f0e757efcd981911](https://git.cafe/gitcafe/zed/commit/2a40dcfd770302bbb8483a21f0e757efcd981911?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/58fe19d55ea339270cd01d3398dc8f9e7f4c04bf?format=markdown)
