Merge branch 'ss/t3200-test-zero-oid' into next

A test now use symbolic constant $ZERO_OID instead of 40 "0" to
work better with SHA-256 as well as SHA-1.

* ss/t3200-test-zero-oid:
  t3200: replace hardcoded null OID with $ZERO_OID
Junio C Hamano 2026-03-12 10:58:57 -07:00
commit 647ee3f2dc
1 changed files with 2 additions and 1 deletions

View File

@ -1494,7 +1494,8 @@ test_expect_success 'refuse --edit-description on unborn branch for now' '
'

test_expect_success '--merged catches invalid object names' '
test_must_fail git branch --merged 0000000000000000000000000000000000000000
test_must_fail git branch --merged $ZERO_OID 2>err &&
test_grep "must point to a commit" err
'

test_expect_success '--list during rebase' '