diff options
author | Christian Couder <christian.couder@gmail.com> | 2020-06-04 19:54:40 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-06-04 10:58:25 -0700 |
commit | d40f04e0b0f8fe60328fb28c366d53ef4501fbce (patch) | |
tree | 786c5f35b96f2f92443a91a814a50e45eee77356 /Documentation/RelNotes/1.6.5.1.txt | |
parent | upload-pack: annotate upload_pack_data fields (diff) | |
download | tgif-d40f04e0b0f8fe60328fb28c366d53ef4501fbce.tar.xz |
upload-pack: move static vars to upload_pack_data
As we cleanup 'upload-pack.c' by using 'struct upload_pack_data'
more thoroughly, let's move the 'no_done', 'daemon_mode' and
'timeout' variables into this struct.
They are only used by protocol v0 code since protocol v2 assumes
certain baseline capabilities, but rolling them into
upload_pack_data and just letting v2 code ignore them 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 'Documentation/RelNotes/1.6.5.1.txt')
0 files changed, 0 insertions, 0 deletions