]> git.ipfire.org Git - thirdparty/git.git/commit - fast-import.c
fast-import: replace sha1_to_hex
authorbrian m. carlson <sandals@crustytoothpaste.net>
Tue, 19 Feb 2019 00:05:06 +0000 (00:05 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Apr 2019 02:57:38 +0000 (11:57 +0900)
commitef479a12bd9e2891c7a1262d95f7d540f79e4a81
tree7190013c013a3aa157bdd6ae7e680dd1966a6ae8
parent28d055bde9436dc1180d58aec2406579ab6d6307
fast-import: 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>
fast-import.c