From: brian m. carlson Date: Fri, 7 Feb 2020 00:52:49 +0000 (+0000) Subject: t5318: update for SHA-256 X-Git-Tag: v2.26.0-rc0~44^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=48c10cc0e6df1c916d00a661ee355817d82f30ca;p=thirdparty%2Fgit.git t5318: update for SHA-256 Switch two tests to use $ZERO_OID to represent the all-zeros object ID. Signed-off-by: brian m. carlson Signed-off-by: Junio C Hamano --- diff --git a/t/t5318-commit-graph.sh b/t/t5318-commit-graph.sh index 81cf118cb6..bc95db9e08 100755 --- a/t/t5318-commit-graph.sh +++ b/t/t5318-commit-graph.sh @@ -629,7 +629,7 @@ test_expect_success 'corrupt commit-graph write (broken parent)' ' empty="$(git mktree broken <<-EOF && tree $empty - parent 0000000000000000000000000000000000000000 + parent $ZERO_OID author whatever 1234 -0000 committer whatever 1234 -0000 @@ -650,7 +650,7 @@ test_expect_success 'corrupt commit-graph write (missing tree)' ' cd repo && tree="$(git mktree broken <<-EOF && - parent 0000000000000000000000000000000000000000 + parent $ZERO_OID author whatever 1234 -0000 committer whatever 1234 -0000