upload-pack: pass upload_pack_data to ok_to_give_up()
authorChristian Couder <redacted>
Thu, 11 Jun 2020 12:05:15 +0000 (14:05 +0200)
committerJunio C Hamano <redacted>
Thu, 11 Jun 2020 20:35:35 +0000 (13:35 -0700)
commit086673482068391dab193c8ef9c8fefb8176a218
tree45649773cf3f47a904b4cdd6b82a85e890e7d27e
parent6fbbc4374f79deb2ebabdd60e46364df39ea5f62
upload-pack: pass upload_pack_data to ok_to_give_up()

As we cleanup 'upload-pack.c' by using 'struct upload_pack_data'
more thoroughly, let's pass that struct to ok_to_give_up(), 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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
upload-pack.c
git clone https://git.99rst.org/PROJECT