commit | 23c339c0f262aad2515e48c33ec8f35d476d2ddc | [log] [tgz] |
---|---|---|
author | Jeff King <peff@peff.net> | Fri Jul 12 02:37:53 2013 -0400 |
committer | Junio C Hamano <gitster@pobox.com> | Fri Jul 12 10:29:27 2013 -0700 |
tree | f979fbe0da3eef0449658ca05d02cec27a3405c2 | |
parent | 5b0864070e1e64683e49464c77a72f3c528c8f71 [diff] |
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>