]> git.ipfire.org Git - thirdparty/git.git/commit
http-push: remove remaining uses of sha1_to_hex
authorbrian m. carlson <sandals@crustytoothpaste.net>
Tue, 19 Feb 2019 00:05:11 +0000 (00:05 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Apr 2019 02:57:38 +0000 (11:57 +0900)
commit1cb158b6e65fbfd12099dc0d39642ad146dd887f
tree50cd8c4cf6d4ca2d4e3670c71c1f1e84a66c2fb8
parentf786ae9ff91e356960521b3a0db95c5a66b59809
http-push: remove remaining uses of sha1_to_hex

Since sha1_to_hex is limited to SHA-1, switch all remaining uses of it
in this file to hash_to_hex or oid_to_hex.  Modify update_remote to take
a pointer to struct object_id, and since we don't modify that parameter
in the function, set it to be const as well.

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