Skip to content

Commit 1b5ba2d

Browse files
Mbd06bclaude
andcommitted
parity: git branch -r -d <missing> (bytes mode)
Closes the last TODO in branch.sh: -r -d against a non-existent remote-tracking branch. The delete() helper's `remotes` flag flips the prefix to refs/remotes/ and the not-found row label to "remote-tracking branch", producing the byte-exact stanza "error: remote-tracking branch 'origin/nosuch' not found" + exit 1. Ledger regeneration is a no-op (only the existing compat rows for --verbose / --abbrev / --column=always remain). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 9fe7a74 commit 1b5ba2d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/journey/parity/branch.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -616,8 +616,8 @@ only_for_hash sha1-only && (sandbox
616616
# hash=sha1-only
617617
title "gix branch --remotes --delete"
618618
only_for_hash sha1-only && (small-repo-in-sandbox
619-
it "matches git behavior (TODO)" && {
620-
: # TODO: expect_parity effect -- branch -r -d origin/nosuch
619+
it "matches git behavior" && {
620+
expect_parity bytes -- branch -r -d origin/nosuch
621621
}
622622
)
623623

0 commit comments

Comments
 (0)