Skip to content

Conversation

@fnebenfuehr
Copy link
Owner

Summary

  • Fix branch-to-directory naming in setup: use branchToDirName() to convert slashes to dashes (e.g. chore/upgrade-next-16chore-upgrade-next-16)
  • Fix spinner not stopping on error: wrap worktree.setup() with tryCatch and properly stop spinner with error message
  • Update prompt to show correct target directory name

Test plan

  • Run worktree setup on a branch with slashes (e.g. chore/foo) - should create chore-foo directory
  • Trigger a setup error (e.g. directory exists) - spinner should stop and show error message

🤖 Generated with Claude Code

fnebenfuehr and others added 2 commits December 14, 2025 13:25
- Use branchToDirName() to convert slashes to dashes (e.g. chore/foo -> chore-foo)
- Stop spinner and show error message on setup failure
- Update prompt to show correct target directory name

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@fnebenfuehr fnebenfuehr merged commit 3a26bbd into main Dec 14, 2025
3 checks passed
@fnebenfuehr fnebenfuehr deleted the fix/setup-branch-naming branch December 14, 2025 15:02
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.

2 participants