[Bug] Worktree creation hangs with complex branch names containing hyphens
Status Fixed / completed
Reported on v2.1.81
Maintainer reply ✓ Yes — ashwin-ant
Activity 4 comments · opened Mar 23, 2026 · closed Apr 18, 2026
💡 Likely answer: A maintainer (ashwin-ant, collaborator)
responded on this thread — see the highlighted reply below.
Bug Description
Worktree branching with "complex" name no longer working.
My workflow is to copy linear branch names and create worktrees from them. This worked until around the 19th/20th. When I attempt to create a worktree from the branch name, it stalls indefinitely.
myname/projectname-1235-i-am-working-on-this-feature for example.
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.81
- Feedback ID: 9ef7460a-4882-4a2d-a1f7-4a52e66ff591
Errors
[]
4 Comments
Found 2 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Same issue here!! :(
This was fixed in v2.1.83 —
--worktreewith a name containing/now creates the worktree (validated per path segment) instead of hanging silently. If you're still seeing this in the latest version, please comment with your version and repro and we'll reopen.This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.