upload-pack: express constants in terms of the_hash_algo
commitf690b6b03049e8f564aa0a1abbde5ec0731c5774
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 15 Oct 2018 00:01:56 +0000 (15 00:01 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Oct 2018 03:53:15 +0000 (15 12:53 +0900)
treee115bb8681d6eb08d891307cc5b73c214ad69fb8
parent49d166081bb5ddefa57fd97fd517449264ee5246
upload-pack: express constants in terms of the_hash_algo

Convert all uses of the GIT_SHA1_HEXSZ to use the_hash_algo so that they
are appropriate for any given hash length.

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