http-push: convert process_ls_object and descendants to object_id
commit1aa40df6b15c1114264ba19897579cec9f063f30
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sat, 6 May 2017 22:10:25 +0000 (6 22:10 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 May 2017 06:12:58 +0000 (8 15:12 +0900)
tree0d98b38d13f7aafca4d3c5b259bdd1c62d1e49aa
parent4417df8c492489613d031478ba2e3604f65a5f84
http-push: convert process_ls_object and descendants to object_id

Rename one function to reflect that it now uses struct object_id.  This
conversion is a prerequisite for converting parse_object.

Note that while the use of a buffer that is exactly forty bytes long
looks questionable, get_oid_hex reads exactly the right number of bytes
and does not require the data to be NUL-terminated.

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