From: Jonathan Tan Date: Fri, 05 Apr 2019 20:44:13 GMT Subject: [PATCH] clone: send server options when using protocol v2 Message-ID: <20190405204413.93900-1-jonathantanmy@google.com> 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". Signed-off-by: Jonathan Tan --- Documentation/git-clone.txt | 7 +++++++ builtin/clone.c | 6 ++++++ t/t5702-protocol-v2.sh | 11 +++++++++++ 3 files changed, 24 insertions(+) diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt index 2fd12524f9..5b79da359c 100644 --- a/Documentation/git-clone.txt +++ b/Documentation/git-clone.txt @@ -131,6 +131,13 @@ objects from the source repository into a pack in the cloned repository. is specified. This flag forces progress status even if the standard error stream is not directed to a terminal. +--server-option=