# git_ui: Add some fixes and improvements to the worktree picker \(\#46407\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 144ff825e26e2090c4bb15ab4ff7f5174a9fe6a2

Requested commit: 144ff825e26e2090c4bb15ab4ff7f5174a9fe6a2

Commit: 144ff825e26e2090c4bb15ab4ff7f5174a9fe6a2

Tree: 3d1c088280a2fa22779081b3da81d0e476079169

Author: Danilo Leal

Committer: GitHub

## Message

```
git_ui: Add some fixes and improvements to the worktree picker (#46407)

This PR adds some clean up to the worktree picker: making sure that
worktree names render just one line, even when they might have multiple
lines (that was making each line item break for me), removing
superfluous icons, and making the footer controls more consistent with
the branch picker, where the buttons change to "Create..." if you're in
a state where the only match is the one to create a new worktree.


https://github.com/user-attachments/assets/e63aa8c9-b5a0-443d-a2ab-7759daed10d1

Release Notes:

- Git: Fixed some UI bugs in the worktree picker as well as improved the
UX for creating worktrees based off of the current or default branch.
```

## Parents

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

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