# git_ui: Branch picker improvements \(\#26287\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 013a64679947fca3c940d319841069000d5ddf2b

Requested commit: 013a64679947fca3c940d319841069000d5ddf2b

Commit: 013a64679947fca3c940d319841069000d5ddf2b

Tree: 5cf6e2edd98aa97af9b06d2cd9e9e610f6cc35f1

Author: Cole Miller

Committer: GitHub

## Message

```
git_ui: Branch picker improvements (#26287)

- Truncate branch names based on the width of the picker
- Use a footer for "Create branch" instead of a picker entry

Still to do:

- [x] Select the footer button when no matches and run the create logic
on `enter`
- [x] Make it possible to quickly select the footer button from the
keyboard when there are matches

Release Notes:

- Git Beta: Removed limitation that made it impossible to create a
branch from the branch picker when it too closely resembled an existing
branch name
```

## Parents

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

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