]> git.ipfire.org Git - thirdparty/git.git/commit
t7508: use $ZERO_OID instead of hard-coded constant
authorbrian m. carlson <sandals@crustytoothpaste.net>
Wed, 29 Jul 2020 23:14:06 +0000 (23:14 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Jul 2020 16:16:47 +0000 (09:16 -0700)
commita5587b8544bba0eeb13ff6937639602e6a471dd6
tree74ffc5b276ccf5b06fc2788f408e086302190be8
parent66b6d43ca4a4367c697bba976704c6fb1771b0a7
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 <sandals@crustytoothpaste.net>
Reviewed-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7508-status.sh