From: brian m. carlson Date: Wed, 29 Jul 2020 23:14:06 +0000 (+0000) Subject: t7508: use $ZERO_OID instead of hard-coded constant X-Git-Tag: v2.29.0-rc0~178^2~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5587b8544bba0eeb13ff6937639602e6a471dd6;p=thirdparty%2Fgit.git t7508: use $ZERO_OID instead of hard-coded constant Use the ZERO_OID variable to abbreviate the all-zeros object ID for maintainability and to avoid depending on a specific size for the hash. Signed-off-by: brian m. carlson Reviewed-by: Eric Sunshine Signed-off-by: Junio C Hamano --- diff --git a/t/t7508-status.sh b/t/t7508-status.sh index 8e969f3e36..e81759319f 100755 --- a/t/t7508-status.sh +++ b/t/t7508-status.sh @@ -837,7 +837,7 @@ EOF ' cat >expect <