From: Jeff King Date: Fri, 12 Jul 2013 06:37:53 +0000 (-0400) Subject: sha1_object_info_extended: pass object_info to helpers X-Git-Tag: v1.8.4-rc0~7^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/23c339c0f262aad2515e48c33ec8f35d476d2ddc?ds=inline;hp=23c339c0f262aad2515e48c33ec8f35d476d2ddc 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 Signed-off-by: Junio C Hamano ---