diff options
author | Christian Couder <christian.couder@gmail.com> | 2020-06-04 19:54:42 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-06-04 10:58:26 -0700 |
commit | 59a902612ab2cdea2a30882e90680a1e7618f823 (patch) | |
tree | c5b889eb177e2de8987138bef825b7586be65e67 /decorate.h | |
parent | upload-pack: move use_sideband to upload_pack_data (diff) | |
download | tgif-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 'decorate.h')
0 files changed, 0 insertions, 0 deletions