summaryrefslogtreecommitdiffstats
path: root/cache.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2013-07-12 08:37:53 +0200
committerJunio C Hamano <gitster@pobox.com>2013-07-12 19:29:27 +0200
commit23c339c0f262aad2515e48c33ec8f35d476d2ddc (patch)
treef979fbe0da3eef0449658ca05d02cec27a3405c2 /cache.h
parentsha1_object_info_extended: make type calculation optional (diff)
downloadgit-23c339c0f262aad2515e48c33ec8f35d476d2ddc.tar.xz
git-23c339c0f262aad2515e48c33ec8f35d476d2ddc.zip
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>
Diffstat (limited to 'cache.h')
0 files changed, 0 insertions, 0 deletions