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

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