Convert object iteration callbacks to struct object_id
authorbrian m. carlson <sandals@crustytoothpaste.net>
Tue, 21 Feb 2017 23:47:35 +0000 (23:47 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Feb 2017 18:12:15 +0000 (10:12 -0800)
commit76c1d9a09624ae39fa9e3140f6581e672b9c040a
treeb146b591ad3123bcb93f66787e216c4bfd630e1e
parent068f85e31311f521adffbcbf96f6583206d77b7d
Convert object iteration callbacks to struct object_id

Convert each_loose_object_fn and each_packed_object_fn to take a pointer
to struct object_id.  Update the various callbacks.  Convert several
40-based constants to use GIT_SHA1_HEXSZ.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/cat-file.c
builtin/count-objects.c
builtin/fsck.c
builtin/pack-objects.c
builtin/prune-packed.c
builtin/prune.c
cache.h
reachable.c
sha1_file.c