]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/index-pack.c
builtin/index-pack: improve hash function abstraction
authorbrian m. carlson <sandals@crustytoothpaste.net>
Thu, 1 Feb 2018 02:18:39 +0000 (02:18 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Feb 2018 19:28:41 +0000 (11:28 -0800)
commit454253f059746e8c9cc96cf3af525d4827a45aa4
tree1f7befea060b4f2a4aab010728a825391f8e2af9
parentac73cedff0db06671e2cab871b84b909b71adbd2
builtin/index-pack: improve hash function abstraction

Convert several uses of unsigned char [20] to struct object_id and
convert various hard-coded constants and uses of SHA-1 functions to use
the_hash_algo.

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