summaryrefslogtreecommitdiff
path: root/block-sha1
diff options
context:
space:
mode:
authorLibravatar Christian Couder <christian.couder@gmail.com>2020-06-04 19:54:42 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-06-04 10:58:26 -0700
commit59a902612ab2cdea2a30882e90680a1e7618f823 (patch)
treec5b889eb177e2de8987138bef825b7586be65e67 /block-sha1
parentupload-pack: move use_sideband to upload_pack_data (diff)
downloadtgif-59a902612ab2cdea2a30882e90680a1e7618f823.tar.xz
upload-pack: move filter_capability_requested to upload_pack_data
As we cleanup 'upload-pack.c' by using 'struct upload_pack_data' more thoroughly, let's move the filter_capability_requested static variable into this struct. It is only used by protocol v0 code since protocol v2 assumes certain baseline capabilities, but rolling it into upload_pack_data and just letting v2 code ignore it as it does now is more coherent and cleaner. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Acked-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'block-sha1')
0 files changed, 0 insertions, 0 deletions