]> git.ipfire.org Git - thirdparty/git.git/commit - upload-pack.c
upload-pack: pass upload_pack_data to upload_pack_config()
authorChristian Couder <christian.couder@gmail.com>
Thu, 4 Jun 2020 17:54:45 +0000 (19:54 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Jun 2020 17:58:26 +0000 (10:58 -0700)
commit8a0e6f16ca4cadefc99343609351dbb0eccf8be7
tree57aa1f41bdf663cec55f46ba3a9fe50861c49e9f
parente9d882b81e8a2f63f7a58f6717e0c1e2a6a62b6d
upload-pack: pass upload_pack_data to upload_pack_config()

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

This will be used in followup commits to move static variables
that are set in upload_pack_config() into 'upload_pack_data'.

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