upload-pack: use 'struct upload_pack_data' in upload_pack()
authorChristian Couder <redacted>
Fri, 15 May 2020 10:04:45 +0000 (12:04 +0200)
committerJunio C Hamano <redacted>
Mon, 18 May 2020 19:58:01 +0000 (12:58 -0700)
commitebf8ebcc56d5f47c531bce0e6238244752d91888
tree92cb917498aef1580e14073acdb56468d25f2c2a
parente8498322fa033b6ed5320119a82da0bc50ca18ca
upload-pack: use 'struct upload_pack_data' in upload_pack()

As we cleanup 'upload-pack.c' by using 'struct upload_pack_data'
more thoroughly, let's use 'struct upload_pack_data' in
upload_pack().

This will make it possible in followup commits to remove a lot
of static variables and local variables that have the same name
and purpose as fields in 'struct upload_pack_data'. This will
also make upload_pack() work in a more similar way as
upload_pack_v2().

Signed-off-by: Christian Couder <redacted>
Signed-off-by: Junio C Hamano <redacted>
upload-pack.c
git clone https://git.99rst.org/PROJECT