From: Jonathan Nieder Date: Tue, 09 Apr 2019 20:46:16 GMT Subject: Re: [PATCH v2 2/2] clone: send server options when using protocol v2 Message-ID: <20190409204616.GB92879@google.com> In-Reply-To: <142c25abd2c5c5c477c44d0e47cb20a3d504ab1c.1554841624.git.jonathantanmy@google.com> Jonathan Tan wrote: > 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 > Reviewed-by: Jonathan Nieder > Signed-off-by: Junio C Hamano > --- > 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(-) This is indeed Reviewed-by: Jonathan Nieder Thanks.