upload-pack: use upload_pack_data fields in receive_needs()
authorChristian Couder <christian.couder@gmail.com>
Fri, 15 May 2020 10:04:54 +0000 (12:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 May 2020 19:58:02 +0000 (12:58 -0700)
commit7a516764a335412f0a96bc536cf1b408515e5ddc
tree9958c71e7a4c83b22a745e548899f2b0aa3f4589
parentc9f0325905f93323f52a56d1e2b3349489740ed4
upload-pack: use upload_pack_data fields in receive_needs()

As we cleanup 'upload-pack.c' by using 'struct upload_pack_data'
more thoroughly, let's use fields from this struct in
receive_needs(), instead of local variables with the same name
and purpose.

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