summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-05-08 15:37:25 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-05-08 15:37:25 (GMT)
commit6d3df8ef01b95539539cd5b22304eff27ea1322b (patch)
treec5caa63baa46af04fded5b616e9b41b1fe362f92 /Documentation
parentea2dab1abbf14bfa7dd5299c9bb86d0f70aae019 (diff)
parent6e98305985555ced61971ca0170dd976554193c0 (diff)
downloadgit-6d3df8ef01b95539539cd5b22304eff27ea1322b.zip
git-6d3df8ef01b95539539cd5b22304eff27ea1322b.tar.gz
git-6d3df8ef01b95539539cd5b22304eff27ea1322b.tar.bz2
Merge branch 'jt/clone-server-option'
"git clone" learned a new --server-option option when talking over the protocol version 2. * jt/clone-server-option: clone: send server options when using protocol v2 transport: die if server options are unsupported
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/fetch-options.txt3
-rw-r--r--Documentation/git-clone.txt8
2 files changed, 10 insertions, 1 deletions
diff --git a/Documentation/fetch-options.txt b/Documentation/fetch-options.txt
index fa0a315..91c4775 100644
--- a/Documentation/fetch-options.txt
+++ b/Documentation/fetch-options.txt
@@ -216,7 +216,8 @@ endif::git-pull[]
--server-option=<option>::
Transmit the given string to the server when communicating using
protocol version 2. The given string must not contain a NUL or LF
- character.
+ character. The server's handling of server options, including
+ unknown ones, is server-specific.
When multiple `--server-option=<option>` are given, they are all
sent to the other side in the order listed on the command line.
diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt
index 2fd1252..a0f14b5 100644
--- a/Documentation/git-clone.txt
+++ b/Documentation/git-clone.txt
@@ -131,6 +131,14 @@ 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=<option>::
+ Transmit the given string to the server when communicating using
+ protocol version 2. The given string must not contain a NUL or LF
+ character. The server's handling of server options, including
+ unknown ones, is server-specific.
+ When multiple `--server-option=<option>` are given, they are all
+ sent to the other side in the order listed on the command line.
+
--no-checkout::
-n::
No checkout of HEAD is performed after the clone is complete.