summaryrefslogtreecommitdiff
path: root/fetch-pack.h
diff options
context:
space:
mode:
authorLibravatar Christian Couder <christian.couder@gmail.com>2020-05-15 12:04:43 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-05-18 12:58:01 -0700
commit389f161ab295e9aad227ba9b13cc7b61b272dda8 (patch)
treeed0e16dc55305827f3070889a7282bc03454dad9 /fetch-pack.h
parentupload-pack: remove unused 'wants' from upload_pack_data (diff)
downloadtgif-389f161ab295e9aad227ba9b13cc7b61b272dda8.tar.xz
upload-pack: move {want,have}_obj to upload_pack_data
As we cleanup 'upload-pack.c' by using 'struct upload_pack_data' more thoroughly, let's move the want_obj and have_obj object arrays into 'struct upload_pack_data'. These object arrays are used by both upload_pack() and upload_pack_v2(), for example when these functions call create_pack_file(). We are going to use 'struct upload_pack_data' in upload_pack() in a followup commit. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fetch-pack.h')
0 files changed, 0 insertions, 0 deletions