# git: Track worktree references to resolve stale repository state \(\#41592\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c60d31a726b014e1780f294a93208f4d3e6c60b3

Requested commit: c60d31a726b014e1780f294a93208f4d3e6c60b3

Commit: c60d31a726b014e1780f294a93208f4d3e6c60b3

Tree: ae45a70f60e69daa70be66683e866b06527208bf

Author: Mayank Verma

Committer: GitHub

## Message

```
git: Track worktree references to resolve stale repository state (#41592)

Closes #35997
Closes #38018
Closes #41516

Release Notes:
- Fixes stale git repositories persisting after removal
```

## Parents

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

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