diff options
author | Christian Couder <christian.couder@gmail.com> | 2020-05-15 12:04:43 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-05-18 12:58:01 -0700 |
commit | 389f161ab295e9aad227ba9b13cc7b61b272dda8 (patch) | |
tree | ed0e16dc55305827f3070889a7282bc03454dad9 /fetch-pack.h | |
parent | upload-pack: remove unused 'wants' from upload_pack_data (diff) | |
download | tgif-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