summaryrefslogtreecommitdiff
path: root/graph.h
diff options
context:
space:
mode:
authorLibravatar Christian Couder <christian.couder@gmail.com>2020-06-04 19:54:40 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-06-04 10:58:25 -0700
commitd40f04e0b0f8fe60328fb28c366d53ef4501fbce (patch)
tree786c5f35b96f2f92443a91a814a50e45eee77356 /graph.h
parentupload-pack: annotate upload_pack_data fields (diff)
downloadtgif-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 'graph.h')
0 files changed, 0 insertions, 0 deletions