upload-pack: convert remaining parse_object callers to object_id
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sat, 6 May 2017 22:10:28 +0000 (22:10 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 May 2017 06:12:58 +0000 (15:12 +0900)
commitcf93982faefd3a9a488ea9a68c60e3a81a4e0432
tree8ee3a95abda35280a8cba8307262e05b55be4a68
parent654b9a905c160aec86be6c0b11bd1c539a62c0b9
upload-pack: convert remaining parse_object callers to object_id

Convert the remaining parse_object callers to struct object_id.  Use
named constants for several hard-coded values.  In addition, rename
got_sha1 to got_oid to reflect the new argument.

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