# Fix ancestor git repositories going missing \(\#28436\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 7bf6cd4ccfefb4547d91287d52845bee18c1639a

Requested commit: 7bf6cd4ccfefb4547d91287d52845bee18c1639a

Commit: 7bf6cd4ccfefb4547d91287d52845bee18c1639a

Tree: 6475d645c6f15d384319cc67468ca3b417701011

Author: Cole Miller

Committer: GitHub

## Message

```
Fix ancestor git repositories going missing (#28436)

Closes #ISSUE

Release Notes:

- Fixed a bug that caused Zed to sometimes not discover git repositories
above a worktree root.
```

## Parents

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

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