feat(git): point madt_branch_create's "already exists" refusal at madt_switch #870
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.
Depends on
#867 feat(git): a local surface to switch to an existing branch
sixfold-space/madtea
Reference
sixfold-space/madtea#870
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?
The gap
madt_branch_createrefuses a name that already exists (internal/service/git/branch_create.go:72, CLIinternal/cmd/git/branch.go:294). The refusal names no next step. The usual intent is to move to that branch, andmadt_switch(#867) does that.What I want
madt_switch(branch="<name>")on MCP andmadtea switch <name>on the CLI, through the same surface-text seam that the commit guard uses.Acceptance criteria
madt_switch, and the CLI refusal namesmadtea switch.Depends on #867.