# Fix worktree panic for out-of-worktree files being opened \(\#3690\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 11e657803e82f4c6bbe272834dbbd38af77bc59d

Requested commit: 11e657803e82f4c6bbe272834dbbd38af77bc59d

Commit: 11e657803e82f4c6bbe272834dbbd38af77bc59d

Tree: a6853b5d789733e8bcfa8224155dae45057ad57a

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Fix worktree panic for out-of-worktree files being opened (#3690)

Fixes
https://zed-industries.slack.com/archives/C04S6T1T7TQ/p1702865855729989

Release Notes:

- Fixed certain files excluded from worktrees causing panics when being
opened
```

## Parents

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

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

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