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

A test now uses the 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
This commit is contained in:
Junio C Hamano
2026-03-19 09:54:55 -07:00

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' '