builtin/unpack-objects: convert to struct object_id
commit834bc47b42926dac7bb4d9df43bd1ea58ac794ce
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sat, 6 May 2017 22:10:12 +0000 (6 22:10 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 May 2017 06:12:57 +0000 (8 15:12 +0900)
tree5ebe135e8c5fd12d5146638ceb4c0f4f27061e1c
parente6a492b7beca9dc8b656f2be3aec23fc1a35e4de
builtin/unpack-objects: convert to struct object_id

Convert struct delta_info and struct object_info, as well as the various
functions, to use struct object_id.  Convert several hard-coded 20
values to GIT_SHA1_RAWSZ.  Among the functions converted is a caller of
lookup_blob, which we will convert shortly.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/unpack-objects.c