refs/packed-backend: express constants using the_hash_algo
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 15 Oct 2018 00:01:55 +0000 (00:01 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Oct 2018 03:53:15 +0000 (12:53 +0900)
commit49d166081bb5ddefa57fd97fd517449264ee5246
treeaf8e7384c905823ecb2bb610bdbd80c5579d77ed
parent268babd6fb06cfb897d48f7a9adb4828f5f6b45f
refs/packed-backend: express constants using the_hash_algo

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

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/packed-backend.c