Add a "Prune worktrees" palette action #54
No reviewers
Labels
No labels
bug
docs
enhancement
good first issue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pedromcaraujo/forge!54
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "prune-worktrees"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Worktree sessions only closed one at a time (sidebar
×/ Close worktree), so finished ones stayed open long after they were used.Summary
POST /worktrees/prune(dry_runfor the confirm list,keepfor the current session).closeandpruneshare the dirty-check/removal helpers;/status's session enumeration is factored out so prune can skip busy sessions.Test plan
/worktrees/closestill 409s on a dirty worktreenode --check