sha1-file: convert constants to uses of the_hash_algo
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 16 Jul 2018 01:28:07 +0000 (01:28 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Jul 2018 21:27:40 +0000 (14:27 -0700)
commit94b5e093f9434ab77dd0ccb5a6dd2cd3a94e7de5
treed1ea21e11fd577d47be55623aba30fd2b7483f6a
parent2ed1960a77234659c1de49a4b9fc541d9e91f007
sha1-file: convert constants to uses of the_hash_algo

Convert one use of 20 and several uses of GIT_SHA1_HEXSZ into references
to the_hash_algo.

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