upload-pack: pass upload_pack_data to create_pack_file()
commitc9f0325905f93323f52a56d1e2b3349489740ed4
authorChristian Couder <christian.couder@gmail.com>
Fri, 15 May 2020 10:04:53 +0000 (15 12:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 May 2020 19:58:02 +0000 (18 12:58 -0700)
tree7f4ffbdc378626450fb61b7ecae1a4f0fcf370e8
parentdf654abcccc31aed529a83dd9a0865dc93e79eeb
upload-pack: pass upload_pack_data to create_pack_file()

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

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