]> git.ipfire.org Git - thirdparty/git.git/commit
read-cache: abstract away uses of SHA-1
authorbrian m. carlson <sandals@crustytoothpaste.net>
Thu, 1 Feb 2018 02:18:45 +0000 (02:18 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Feb 2018 19:28:41 +0000 (11:28 -0800)
commitaab6135906707d5d35caeb54307ead9eca96fb2a
tree22ce1cbbc02814f0b8db3b9065d8d864531bb7e6
parent81c58cd452c3da42abdcbec77cb59cf1352216ea
read-cache: abstract away uses of SHA-1

Convert various uses of direct calls to SHA-1 and 20- and 40-based
constants to use the_hash_algo instead.  Don't yet convert the on-disk
data structures, which will be handled in a future commit.

Adjust some comments so as not to refer explicitly to SHA-1.

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