# Don't render "Initialize Repository" button when no worktrees \(\#26713\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a7f3b22051bfd184c69109ec7a57b529b73b7ed9

Requested commit: a7f3b22051bfd184c69109ec7a57b529b73b7ed9

Commit: a7f3b22051bfd184c69109ec7a57b529b73b7ed9

Tree: 9e681d9fbd49135f1bb82bb8c3e3c52b158d58ed

Author: Cole Miller

Committer: GitHub

## Message

```
Don't render "Initialize Repository" button when no worktrees (#26713)

Closes #26676  

Release Notes:

- Fixed the git panel to not show an "Initialize Repositories" button in
empty projects
```

## Parents

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

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