prune: rename --yes to --delete-branches; MCP confirm= becomes delete_branches= #205
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sixfold-space/madtea#205
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Companion to #204's explicit-consent-flags pass. prune's --yes / -y means "actually delete" (dry run is the default), which is a different semantic from install's old blanket --yes, and the name says that I agree without saying what happens. The MCP surface calls the same switch confirm=, so the two surfaces also disagree on the name.
What prune destroys when armed: branch refs merged into the default branch - local branches, and with --remote their remote twins plus orphaned merged remote branches (squash merges are content-verified first, so the commits survive in the default branch; the refs are what get deleted).
Decided naming: the flag states the consequence.
Acceptance criteria: