]> git.ipfire.org Git - thirdparty/git.git/commit - rerere.c
rerere: replace sha1_to_hex
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 18 Aug 2019 20:04:25 +0000 (20:04 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Aug 2019 22:04:59 +0000 (15:04 -0700)
commit3f34d70d4029c420d0db82fc39e77da4470eb3cc
treefe49b9bc7e662434a21ed5a208da184455de0ace
parentfc06be3b7f065d197fd484098f517fa9d19c9d2b
rerere: replace sha1_to_hex

Replace the uses of sha1_to_hex in this function with hash_to_hex to
allow the use of SHA-256 as well.  Rename a variable since it is no
longer limited to SHA-1.

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