builtin/unpack-objects: switch uses of SHA-1 to the_hash_algo
commit3206b6bdf6c261633b3712b7549b794aa39a5169
authorbrian m. carlson <sandals@crustytoothpaste.net>
Thu, 1 Feb 2018 02:18:40 +0000 (1 02:18 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Feb 2018 19:28:41 +0000 (2 11:28 -0800)
treef34eb65ca777eab54a143ee725d630aea97ef0a6
parent454253f059746e8c9cc96cf3af525d4827a45aa4
builtin/unpack-objects: switch uses of SHA-1 to the_hash_algo

Switch various uses of explicit calls to SHA-1 into references to
the_hash_algo to better abstract away the various uses of it.

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