]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/receive-pack: replace sha1_to_hex
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 18 Aug 2019 20:04:24 +0000 (20:04 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Aug 2019 22:04:59 +0000 (15:04 -0700)
commitfc06be3b7f065d197fd484098f517fa9d19c9d2b
tree81827b096ed6fb5a0030763f40635642844d90c7
parent69fa3370604e4410d845ff146ef86f8368e1ca79
builtin/receive-pack: replace sha1_to_hex

Since sha1_to_hex is limited to SHA-1, replace it with hash_to_hex.
Rename several variables to indicate that they can contain any hash.

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