parse_fetch: convert to use struct object_id
commit8338c911d1c22a6d86d694003a1fa213cbe11bcf
authorbrian m. carlson <sandals@crustytoothpaste.net>
Tue, 10 Nov 2015 02:22:22 +0000 (10 02:22 +0000)
committerJeff King <peff@peff.net>
Fri, 20 Nov 2015 13:02:05 +0000 (20 08:02 -0500)
tree0fa7fbce2ff88198803a839a0460a33e055e87b8
parent854ecb9cadde1063883e2a74ae6b8ea46c0a451a
parse_fetch: convert to use struct object_id

Convert the parse_fetch function to use struct object_id.  Remove the
strlen check as get_oid_hex will fail safely on receiving a too-short
NUL-terminated string.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Jeff King <peff@peff.net>
remote-curl.c