# git: Fix remote branch picker not showing branches \(\#54575\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 58c4dda8b9750b4d003f69ab0d73320b242248db

Requested commit: 58c4dda8b9750b4d003f69ab0d73320b242248db

Commit: 58c4dda8b9750b4d003f69ab0d73320b242248db

Tree: 219bdcf64d88651758b4eaa8b71c4de3b84a6094

Author: Anthony Eid

Committer: GitHub

## Message

```
git: Fix remote branch picker not showing branches (#54575)

This sends `branch_list` in live `UpdateRepository` messages so
downstream repository snapshots stay in sync and the remote branch
picker can populate correctly. Collab DB replay for join/reconnect will
follow in a separate change.

This fixes a bug where the branch picker wouldn't show any branches in
remote environments

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes #54530

Release Notes:

- git: Fix remote branch picker not showing any branches
```

## Parents

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

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