]> git.ipfire.org Git - thirdparty/git.git/commit
pack-redundant: abstract away hash algorithm
authorbrian m. carlson <sandals@crustytoothpaste.net>
Wed, 2 May 2018 00:25:38 +0000 (00:25 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 May 2018 04:59:50 +0000 (13:59 +0900)
commit00de60633228f11a2941c25fc7738f8028756cb9
treedbe4dce290c825c819389e973cc09552892b8d21
parent411791009bac88114fa7c53667ea2eff75bf09f7
pack-redundant: abstract away hash algorithm

Instead of using hard-coded instances of the constant 20, use
the_hash_algo to look up the correct constant.

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