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 <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
brian m. carlson committed
Oct 28, 2019 at 00:59 UTC
cf02be848698a00a68d4d5958f9b04bb6e40b526
1 file changed
+1
-1
t/t4045-diff-relative.sh
+1
-1
@@ -70,7 +70,7 @@ check_raw () {
70
expect=$1
71
shift
72
cat >expected <<-EOF
73
- :000000 100644 0000000000000000000000000000000000000000 $blob A $expect
73
+ :000000 100644 $ZERO_OID $blob A $expect
74
EOF
75
test_expect_success "--raw $*" "
76
git -C '$dir' diff --no-abbrev --raw $* HEAD^ >actual &&