summaryrefslogtreecommitdiff
path: root/submodule.h
diff options
context:
space:
mode:
authorLibravatar Jonathan Tan <jonathantanmy@google.com>2019-01-15 11:40:27 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-01-15 11:44:48 -0800
commitbc2e795cea607e444a9f985b0dbed5a4d25921c8 (patch)
tree3d155b6f225082f2565e64a464b4f3df22c405f9 /submodule.h
parentMerge branch 'ms/packet-err-check' into jt/fetch-v2-sideband (diff)
downloadtgif-bc2e795cea607e444a9f985b0dbed5a4d25921c8.tar.xz
pkt-line: introduce struct packet_writer
A future patch will allow the client to request multiplexing of the entire fetch response (and not only during packfile transmission), which in turn allows the server to send progress and keepalive messages at any time during the response. It will be convenient for a future patch if writing options (specifically, whether the written data is to be multiplexed) could be controlled from a single place, so create struct packet_writer to serve as that place, and modify upload-pack to use it. Currently, it only stores the output fd, but a subsequent patch will (as described above) introduce an option to determine if the written data is to be multiplexed. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule.h')
0 files changed, 0 insertions, 0 deletions