# Remove potential crash when missing worktrees \(\#12291\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8450d63ed6aee8f8c5d6eb3b182e246c2b995a87

Requested commit: 8450d63ed6aee8f8c5d6eb3b182e246c2b995a87

Commit: 8450d63ed6aee8f8c5d6eb3b182e246c2b995a87

Tree: e42a13b29b459ed76cd08b56a3d2dbd7e022339f

Author: Marshall Bowers

Committer: GitHub

## Message

```
Remove potential crash when missing worktrees (#12291)

This PR removes a potential crash when there are no worktrees in the
project.

Present on Nightly only.

Release Notes:

- N/A
```

## Parents

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

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