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

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

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

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