Show 21 quoted lines
> 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.
>
> Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
> Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
> Signed-off-by: Junio C Hamano <gitster@pobox.com>
> ---
> Documentation/fetch-options.txt | 3 ++-
> Documentation/git-clone.txt | 8 ++++++++
> builtin/clone.c | 6 ++++++
> t/t5702-protocol-v2.sh | 21 +++++++++++++++++++++
> 4 files changed, 37 insertions(+), 1 deletion(-)