]> git.ipfire.org Git - thirdparty/git.git/commit
upload-pack: move allow_unadvertised_object_request to upload_pack_data
authorChristian Couder <christian.couder@gmail.com>
Thu, 11 Jun 2020 12:05:11 +0000 (14:05 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Jun 2020 20:35:35 +0000 (13:35 -0700)
commitf1514c6aad0de2937fb1bb22a5f93ef931757600
tree0280feb2c14d3afb5848c62e22d6ab7c1bb5f31e
parentde0e9f74984b9413680e3903c33e270d8a6b5f69
upload-pack: move allow_unadvertised_object_request to upload_pack_data

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

It is used by code common to protocol v0 and protocol v2.

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