]> git.ipfire.org Git - thirdparty/git.git/commit - sha1_file.c
sha1_file: switch uses of SHA-1 to the_hash_algo
authorbrian m. carlson <sandals@crustytoothpaste.net>
Thu, 1 Feb 2018 02:18:41 +0000 (02:18 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Feb 2018 19:28:41 +0000 (11:28 -0800)
commit18e2588e11a1ae34f9a6141719ae08d13956affd
tree930cb6a21634f7d26b5a8eeea39e9d717d8186d6
parent3206b6bdf6c261633b3712b7549b794aa39a5169
sha1_file: switch uses of SHA-1 to the_hash_algo

Switch various uses of explicit calls to SHA-1 into references to
the_hash_algo for better abstraction.  Convert some calls to use struct
object_id.

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