]> git.ipfire.org Git - thirdparty/git.git/commit
csum-file: abstract uses of SHA-1
authorbrian m. carlson <sandals@crustytoothpaste.net>
Thu, 1 Feb 2018 02:18:47 +0000 (02:18 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Feb 2018 19:28:41 +0000 (11:28 -0800)
commit4d2735005a6512c4dae8b9ed892640db91351dff
tree3928da1bf2ca8adfff3324da70cceeadc4524ebf
parent98a3beab6a218eeed33c82fef697c0fd8181ea95
csum-file: abstract uses of SHA-1

Convert several direct uses of SHA-1 to use the_hash_algo instead.
Convert one use of the constant 20 as well.

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