Skip to content

Show worktree name next to branch in branches list#5340

Open
ruudk wants to merge 1 commit intojesseduffield:masterfrom
ruudk:worktree-name-in-branches-list
Open

Show worktree name next to branch in branches list#5340
ruudk wants to merge 1 commit intojesseduffield:masterfrom
ruudk:worktree-name-in-branches-list

Conversation

@ruudk
Copy link
Contributor

@ruudk ruudk commented Mar 4, 2026

PR Description

Please check if the PR fulfills these requirements

  • Cheatsheets are up-to-date (run go generate ./...)
  • Code has been formatted (see here)
  • Tests have been added/updated (see here for the integration test guide)
  • Text is internationalised (see here)
  • If a new UserConfig entry was added, make sure it can be hot-reloaded (see here)
  • Docs have been updated if necessary
  • You've read through your own file changes for silly mistakes etc

When a branch is checked out by another worktree, show the worktree name in the label, e.g. "(worktree cosmos2)" instead of just "(worktree)", so you can immediately see which worktree holds it.

Screenshot 2026-03-04 at 13 48 11@2x

When a branch is checked out by another worktree, show the worktree
name in the label, e.g. "(worktree cosmos2)" instead of just
"(worktree)", so you can immediately see which worktree holds it.
@ruudk ruudk force-pushed the worktree-name-in-branches-list branch from 2c7fe1f to 2079706 Compare March 5, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant