upload-pack: pass upload_pack_data to send_unshallow()
commit329f9960505ba4af082614890bac205054701ede
authorChristian Couder <christian.couder@gmail.com>
Thu, 11 Jun 2020 12:05:08 +0000 (11 14:05 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Jun 2020 20:35:34 +0000 (11 13:35 -0700)
tree4d5c95de074a2b3c63755d86e887edde8856dc86
parent446e42c559c79e7dae34b584fef4f7c26dee5198
upload-pack: pass upload_pack_data to send_unshallow()

As we cleanup 'upload-pack.c' by using 'struct upload_pack_data'
more thoroughly, let's pass that struct to send_unshallow(), so
that this function can use all the fields of the struct.

This will be used in followup commits to move static variables
into 'upload_pack_data'.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
upload-pack.c