]> git.ipfire.org Git - thirdparty/git.git/commit - upload-pack.c
upload-pack: move allow_sideband_all to upload_pack_data
authorChristian Couder <christian.couder@gmail.com>
Thu, 4 Jun 2020 17:54:49 +0000 (19:54 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Jun 2020 17:58:27 +0000 (10:58 -0700)
commite3835cd4bc6d727bf16a42229c0ca757c088e9d3
tree068202822c9041d48b480b954ab343165586114c
parentd1d7a9452629a6caa26e80bd6ca69366ff65dd89
upload-pack: move allow_sideband_all to upload_pack_data

As we cleanup 'upload-pack.c' by using 'struct upload_pack_data'
more thoroughly, let's move the 'allow_sideband_all' static
variable into this struct.

It is used only by protocol v2 code.

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