# Fix infinite loop when worktree is deleted \(\#39637\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c80d21322712a9a0b79c8bd91f6c41b97e5de2b9

Requested commit: c80d21322712a9a0b79c8bd91f6c41b97e5de2b9

Commit: c80d21322712a9a0b79c8bd91f6c41b97e5de2b9

Tree: 90f0478a365ecc503aec04296543e4d3cb5aa0c9

Author: Andrew Farkas

Committer: GitHub

## Message

```
Fix infinite loop when worktree is deleted (#39637)

Closes #39442

Release Notes:

- Fixed infinite loop when worktree is deleted

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
```

## Parents

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

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