pack-check: convert various uses of SHA-1 to abstract forms
commitccc12e06764e551c86ff458b16db35958957645f
authorbrian m. carlson <sandals@crustytoothpaste.net>
Thu, 1 Feb 2018 02:18:43 +0000 (1 02:18 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Feb 2018 19:28:41 +0000 (2 11:28 -0800)
tree46001d287b192072a3c6b53e83ba6b38be0dbb0d
parent7f89428d3794ce9063172114b98f1ef1e6c8da1a
pack-check: convert various uses of SHA-1 to abstract forms

Convert various explicit calls to use SHA-1 functions and constants to
references to the_hash_algo.  Make several strings more generic with
respect to the hash algorithm used.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pack-check.c