]> git.ipfire.org Git - thirdparty/git.git/commit
rerere: convert to use the_hash_algo
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 15 Oct 2018 00:02:02 +0000 (00:02 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Oct 2018 03:53:16 +0000 (12:53 +0900)
commit0d7c419a94b7524ac854d5a6002b7541abab4f12
treeac2365fed27cede9eea0c4dbccf9fb99f25727f1
parentdda634687717fd8aafd54cae9ae3d9b2902e276e
rerere: convert to use the_hash_algo

Since this data is stored in the .git directory, it makes sense for us
to use the same hash algorithm for it as for everything else.  Convert
the remaining uses of SHA-1 to use the_hash_algo.  Use GIT_MAX_RAWSZ for
allocations.  Rename various struct members, local variables, and a
function to be named "hash" instead of "sha1".

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