sha1_object_info_extended: pass object_info to helpers
authorJeff King <peff@peff.net>
Fri, 12 Jul 2013 06:37:53 +0000 (02:37 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Jul 2013 17:29:27 +0000 (10:29 -0700)
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>
No differences found