-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Branch picker includes linked-worktree '+' marker in git checkout #9170
Copy link
Copy link
Open
Labels
area:shell-terminalTerminal input/output, shell integration, prompt behavior, and block rendering.Terminal input/output, shell integration, prompt behavior, and block rendering.bugSomething isn't working.Something isn't working.os:macmacOS-specific behavior, regressions, or requests.macOS-specific behavior, regressions, or requests.ready-to-implementThe issue is ready for implementation work.The issue is ready for implementation work.repro:highThe report includes enough evidence that the issue appears highly reproducible.The report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Metadata
Metadata
Assignees
Labels
area:shell-terminalTerminal input/output, shell integration, prompt behavior, and block rendering.Terminal input/output, shell integration, prompt behavior, and block rendering.bugSomething isn't working.Something isn't working.os:macmacOS-specific behavior, regressions, or requests.macOS-specific behavior, regressions, or requests.ready-to-implementThe issue is ready for implementation work.The issue is ready for implementation work.repro:highThe report includes enough evidence that the issue appears highly reproducible.The report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Pre-submit Checks
Describe the bug
When selecting a branch from Warp's branch picker/search UI, if that branch is checked out in another linked git worktree, Warp appears to include Git's leading
+marker in the checkout command.For example, the branch is shown as:
Warp then appears to execute:
which fails with:
This looks like Warp is parsing raw
git branchdisplay output and treating the leading+linked-worktree marker as part of the checkout arguments.To reproduce
+.Expected behavior
Warp should not pass the leading
+marker togit checkout.It should either:
Screenshots, videos, and logs
I have screenshots showing:
+ 273-improvement-suggestion-agentOperating system (OS)
macOS
Operating system and version
26.3.1
Shell Version
zsh 5.9 (arm64-apple-darwin25.0)
Current Warp version
v0.2026.04.15.08.45.stable_02
Regression
Unknown
Recent working Warp date
No response
Additional context
This repository uses linked git worktrees.
Local
git branch --listoutput includes:The
+is Git's marker for a branch checked out in another linked worktree, not part of the branch name.