The gate refuses a tag delete, in the clone and on the remote (martha#231) #234
Loading…
Reference in a new issue
No description provided.
Delete branch "neptunus/231-tag-delete"
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?
Refs #231, #45
Stacked on PR 233 (#230). Review range:
921deda5..409add75. martha lands go in order, so this one lands after 233.The gate refuses a tag delete, in the clone and on the remote. Raf decided this on 2026-11-26, ticking "Tag delete, local and remote" on #45 c5603. The threat model is on #231.
tag -d|--delete <name>…andupdate-ref -d refs/tags/<name>are refused.refs/tags/<name>, ortag <name>refs/heads/<name>for a branch.git push origin --delete fix/xstops with "fix/x may be a tag"; the way through isgit push origin --delete refs/heads/fix/x.+before:refis read, the value-otakes is left out, and a:refno longer counts every other refspec as deleted.fetch --prune-tagswould fail if it refused tag deletes.Proof, through the namespace wrapper:
tag -drefusal removed, theupdate-reftag refusal removed, bare names not treated as possible tags, andtag <name>not readr=1 fold-in (
b451b4cf): a must-pass linegit push --delete -o ci.skip origin hygiea/562kills the mutant that reads a push's refs withtheWordsNotOptions(1 red); update-ref's-dis one named constant;mayBeATagdrops the dead default-branch clause and its facts parameter. guard_workspace 27/27, tsc, eslint, check:restated-values clean.🤖 Generated with Claude Code