From: Brandon Williams Date: Mon, 23 Apr 2018 22:46:24 +0000 (-0700) Subject: fetch: send server options when using protocol v2 X-Git-Tag: v2.18.0-rc0~60^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/5e3548ef161d4d284e35cf5f5d6a181ba4fe707b fetch: send server options when using protocol v2 Teach fetch 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 performing a fetch communicating 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 Signed-off-by: Junio C Hamano --- diff --git a/Documentation/fetch-options.txt b/Documentation/fetch-options.txt index 8631e365f4..97d3217df9 100644 --- a/Documentation/fetch-options.txt +++ b/Documentation/fetch-options.txt @@ -188,6 +188,14 @@ endif::git-pull[] is specified. This flag forces progress status even if the standard error stream is not directed to a terminal. +-o