summaryrefslogtreecommitdiff
path: root/trace2/tr2_tls.c
diff options
context:
space:
mode:
authorLibravatar Jonathan Tan <jonathantanmy@google.com>2019-04-12 12:51:22 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-04-18 10:53:51 +0900
commit6e98305985555ced61971ca0170dd976554193c0 (patch)
treeb7203706dc8aade4cb29b5cc9d7f4f6e174cbe9a /trace2/tr2_tls.c
parenttransport: die if server options are unsupported (diff)
downloadtgif-6e98305985555ced61971ca0170dd976554193c0.tar.xz
clone: send server options when using protocol v2
Commit 5e3548ef16 ("fetch: send server options when using protocol v2", 2018-04-24) taught "fetch" the ability to send server options when using protocol v2, but not "clone". This ability is triggered by "-o" or "--server-option". Teach "clone" the same ability, except that because "clone" already has "-o" for another parameter, teach "clone" only to receive "--server-option". Explain in the documentation, both for clone and for fetch, that server handling of server options are server-specific. This is similar to receive-pack's handling of push options - currently, they are just sent to hooks to interpret as they see fit. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Reviewed-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'trace2/tr2_tls.c')
0 files changed, 0 insertions, 0 deletions