OSDN Git Service

add_sought_entry_mem: convert to struct object_id
authorbrian m. carlson <sandals@crustytoothpaste.net>
Tue, 10 Nov 2015 02:22:21 +0000 (02:22 +0000)
committerJeff King <peff@peff.net>
Fri, 20 Nov 2015 13:02:05 +0000 (08:02 -0500)
commit854ecb9cadde1063883e2a74ae6b8ea46c0a451a
tree0a9eed5de7b6d112d621d171538cc68e38fbf820
parentf4e54d02b894064d370e461385b48701485672bd
add_sought_entry_mem: convert to struct object_id

Convert this function to use struct object_id.  Express several
hardcoded constants in terms of GIT_SHA1_HEXSZ.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Jeff King <peff@peff.net>
builtin/fetch-pack.c