# Be more lenient when looking up gitignored files in file finder \(\#31457\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5b320d6714b720253f85f2542c27466d254d4f73

Requested commit: 5b320d6714b720253f85f2542c27466d254d4f73

Commit: 5b320d6714b720253f85f2542c27466d254d4f73

Tree: bfa41a3aa7d0dd8fa1dd9499c7e8812985fcb5f0

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Be more lenient when looking up gitignored files in file finder (#31457)

The lookup was disabled due to concerns of being forced to traverse many
gitignored file entries. Since Zed does not index these eagerly, but
only contents of the directories that are parent to the gitignored file
entries, it might be not that bad — let's see how much improvement it
provides.

Closes https://github.com/zed-industries/zed/issues/31016

Release Notes:

- Improved file finder to include indexed gitignored files in its search
results
```

## Parents

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

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