summaryrefslogtreecommitdiff
path: root/fetch-pack.h
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2018-04-23 15:46:23 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-04-24 11:24:40 +0900
commitff473221b4d6cf0894ba47370492d853a36c024d (patch)
tree50b103baec013524704188718b2c46433ce4ce10 /fetch-pack.h
parentserve: introduce the server-option capability (diff)
downloadtgif-ff473221b4d6cf0894ba47370492d853a36c024d.tar.xz
ls-remote: send server options when using protocol v2
Teach ls-remote to optionally accept server options by specifying them on the cmdline via '-o' or '--server-option'. These server options are sent to the remote end when querying for the remote end's refs using protocol version 2. If communicating using a protocol other than v2 the provided options are ignored and not sent to the remote end. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fetch-pack.h')
0 files changed, 0 insertions, 0 deletions