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

As we cleanup 'upload-pack.c' by using 'struct upload_pack_data'
more thoroughly, let's pass that struct to send_shallow_list(),
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