t5302: make hash size independent
authorbrian m. carlson <sandals@crustytoothpaste.net>
Fri, 7 Feb 2020 00:52:44 +0000 (00:52 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Feb 2020 19:07:30 +0000 (11:07 -0800)
commit796d1383a395fb0eaf521b94d1305eb7fce3f579
tree5a55115e2dcd59da97562ca2022c785c4fe2f0de
parent417e45e5e38f824f65259f1c67d3a40b3597e12a
t5302: make hash size independent

Compute the length of object IDs and pack offsets instead of hard-coding
constants.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5302-pack-index.sh