t5515: make test hash independent
commitf7ae8e69b6540d6ec20208506b319a65161d4933
authorbrian m. carlson <sandals@crustytoothpaste.net>
Fri, 7 Feb 2020 00:52:48 +0000 (7 00:52 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Feb 2020 19:07:30 +0000 (7 11:07 -0800)
tree7d21d01fc22fa34ae22390a7c85a00ffa6c1ab8d
parente70649bb664d4f3a4affa6bd4b663b1fcc8d6ac9
t5515: make test hash independent

This test contains a large number of data files, mostly using the same
object ID values for refs. Instead of producing two separate sets of
test files, keep the test files using SHA-1 and translate them on the
fly by replacing the SHA-1 values with the values for the current hash
algorithm in use.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5515-fetch-merge-logic.sh