Fix iw rm failing after user confirms dirty worktree removal #256

Merged
mprihoda merged 1 commit from fix/rm-force-after-confirm into main 2026-03-13 07:53:45 +00:00
mprihoda commented 2026-03-13 07:53:43 +00:00 (Migrated from github.com)

Summary

  • When user confirms removal of a worktree with uncommitted changes, propagate --force to git worktree remove
  • Previously the confirmation prompt was a no-op — it asked but then didn't actually force the removal

Test plan

  • ./iw test compile passes (all 32 commands)
  • Pre-commit hooks pass

🤖 Generated with Claude Code

## Summary - When user confirms removal of a worktree with uncommitted changes, propagate `--force` to `git worktree remove` - Previously the confirmation prompt was a no-op — it asked but then didn't actually force the removal ## Test plan - [x] `./iw test compile` passes (all 32 commands) - [x] Pre-commit hooks pass 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No description provided.