Skip to content

Commit cf02be8

Browse files
bk2204gitster
authored andcommitted
t4045: make hash-size independent
Replace a hard-coded all-zeros object ID with a use of $ZERO_OID. Signed-off-by: brian m. carlson <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 38ee26b commit cf02be8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t4045-diff-relative.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ check_raw () {
7070
expect=$1
7171
shift
7272
cat >expected <<-EOF
73-
:000000 100644 0000000000000000000000000000000000000000 $blob A $expect
73+
:000000 100644 $ZERO_OID $blob A $expect
7474
EOF
7575
test_expect_success "--raw $*" "
7676
git -C '$dir' diff --no-abbrev --raw $* HEAD^ >actual &&

0 commit comments

Comments
 (0)