sha1_object_info_extended: pass object_info to helpers
commit23c339c0f262aad2515e48c33ec8f35d476d2ddc
authorJeff King <peff@peff.net>
Fri, 12 Jul 2013 06:37:53 +0000 (12 02:37 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Jul 2013 17:29:27 +0000 (12 10:29 -0700)
treef979fbe0da3eef0449658ca05d02cec27a3405c2
parent5b0864070e1e64683e49464c77a72f3c528c8f71
sha1_object_info_extended: pass object_info to helpers

We take in a "struct object_info" which contains pointers to
storage for items the caller cares about. But then rather
than pass the whole object to the low-level loose/packed
helper functions, we pass the individual pointers.

Let's pass the whole struct instead, which will make adding
more items later easier.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_file.c