t3206: abstract away hash size constants
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 18 Aug 2019 19:16:34 +0000 (19:16 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 Aug 2019 18:09:21 +0000 (11:09 -0700)
commitb561edd213f9a37e874e5726375d49e8f4d2037b
tree26f5dccdf1d37d13998d4a3b8b9fc92a051c2b94
parenta5f61c7d131ce0d19bd7ab1a66e8442607b03bff
t3206: abstract away hash size constants

The various short object IDs in the range-diff output differ between
hash algorithms.  Use test_oid_cache to look up values for both SHA-1
and SHA-256.

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