# worktree: Do not scan for \.gitignore files beyond project root\. \(\#8189\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 94bc216bbd351a074d1609b65926a0d2e22ad020

Requested commit: 94bc216bbd351a074d1609b65926a0d2e22ad020

Commit: 94bc216bbd351a074d1609b65926a0d2e22ad020

Tree: 84f51f5e9c3f25fbbb0e05173356a506d32ee8f1

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
worktree: Do not scan for .gitignore files beyond project root. (#8189)

This has been fixed and reported before (and got lost in gpui1->gpui2
transition);
https://github.com/zed-industries/zed/issues/5749#issuecomment-1959217319

Release Notes:

- Fixed .gitignore files beyond the first .git directory being respected
by the worktree (zed-industries/zed#5749).
```

## Parents

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

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