t9301: make hash size independent
commitb6e50052ac60254f423762e8a4f6192400130455
authorbrian m. carlson <sandals@crustytoothpaste.net>
Wed, 29 Jul 2020 23:14:12 +0000 (29 23:14 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Jul 2020 16:16:48 +0000 (30 09:16 -0700)
tree3846204d4ad0b6ed62140b19e94467ac8d152686
parent287bb3abb356cc4ca9937f966b26b3191941426c
t9301: make hash size independent

Instead of using a hard-coded all-zeros object ID, use $ZERO_OID.
Compute the length of the object IDs in use and use this instead of
hard-coding the constant 40.

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/t9301-fast-import-notes.sh