]> git.ipfire.org Git - thirdparty/git.git/commit
notes: replace sha1_to_hex
authorbrian m. carlson <sandals@crustytoothpaste.net>
Tue, 19 Feb 2019 00:05:02 +0000 (00:05 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Apr 2019 02:57:38 +0000 (11:57 +0900)
commit0dbc6462ee8853da1ecca7b50cd0c0c9bc62e25b
tree5e01b873942084e5619db1e8ae7e3d733e9854ff
parentdd43745131ca20f728746c37ffbbf1f8946052d1
notes: 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 some variables since this code
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>
notes.c