pack-write: switch various SHA-1 values to abstract forms
commit81c58cd452c3da42abdcbec77cb59cf1352216ea
authorbrian m. carlson <sandals@crustytoothpaste.net>
Thu, 1 Feb 2018 02:18:44 +0000 (1 02:18 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Feb 2018 19:28:41 +0000 (2 11:28 -0800)
tree50a55ccca1650623993bb583c5f72f728be131ad
parentccc12e06764e551c86ff458b16db35958957645f
pack-write: switch various SHA-1 values to abstract forms

Convert various uses of hardcoded 20- and 40-based numbers to use
the_hash_algo, along with direct calls to SHA-1.  Adjust the names of
variables to refer to "hash" instead of "sha1".

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