t5500: make hash independent
authorbrian m. carlson <redacted>
Mon, 25 May 2020 19:59:18 +0000 (19:59 +0000)
committerJunio C Hamano <redacted>
Wed, 27 May 2020 17:07:07 +0000 (10:07 -0700)
commitf0af95f42455b03e3dd83f27f24cb6203eef99ae
tree012b9b8d8a04692c812ba1864eefed7241f39d97
parent9de0dd361c9ea2ca6eca14a7dd43fe11d170a253
t5500: make hash independent

This test has hard-coded pkt-lines with object IDs.  The pkt-line
lengths necessarily differ between hash algorithms, so generate these
lines with the packetize helper so they're always the right size.  In
addition, we will require an object-format capability for SHA-256, so
pass that capability on to the upload-pack process.

Signed-off-by: brian m. carlson <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t5500-fetch-pack.sh
git clone https://git.99rst.org/PROJECT