t4202: abstract away SHA-1-specific constants
commitcb78f4f0fef7d45c33a22c28fcd575bed66a16d2
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sat, 21 Dec 2019 19:49:21 +0000 (21 19:49 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Jan 2020 22:06:19 +0000 (15 14:06 -0800)
treebfae831d0ce4746aac5de7a73f171e44e80052fb
parent717c939d8fe46638283a09e09d2b913974b4096d
t4202: abstract away SHA-1-specific constants

Adjust the test so that it computes values for object IDs instead of
using hard-coded hashes.  Additionally, update the sanitize_output
function to sanitize the index lines in diff output, since it's clear
from the assertions in question that we are not interested in the
specific object IDs.

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