# Don't show branch and worktree title bar buttons if Git is disabled \(\#54667\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ad2939f2e04956e4a1c072f7bc4e97e3488517cf

Requested commit: ad2939f2e04956e4a1c072f7bc4e97e3488517cf

Commit: ad2939f2e04956e4a1c072f7bc4e97e3488517cf

Tree: 43f1afe574afb1169c6b4e8eb78fd81a45871eee

Author: Danilo Leal

Committer: GitHub

## Message

```
Don't show branch and worktree title bar buttons if Git is disabled (#54667)

Closes https://github.com/zed-industries/zed/issues/54628

Release Notes:

- Fixed a bug where the worktree and branch buttons in the title bar
were still being displayed despite `disable_git` being turned on.
```

## Parents

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

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