]> git.ipfire.org Git - thirdparty/git.git/commit
pack-objects: abstract away hash algorithm
authorbrian m. carlson <sandals@crustytoothpaste.net>
Wed, 2 May 2018 00:25:37 +0000 (00:25 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 May 2018 04:59:50 +0000 (13:59 +0900)
commit411791009bac88114fa7c53667ea2eff75bf09f7
treeb651f61473a55dfa0590dd19f52f80419a73c738
parent37fec86a8353106dad000d498df8251ea3547855
pack-objects: 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-objects.c