ls-remote: send server options when using protocol v2
[gitweb.git] / Documentation / git-ls-remote.txt
index 5f2628c8f86a65b0bfe8e29995fa2176927a30f0..e5defb1b2d75ff3cd9ad0c3c3c805bf96e82583d 100644 (file)
@@ -60,6 +60,14 @@ OPTIONS
        upload-pack only shows the symref HEAD, so it will be the only
        one shown by ls-remote.
 
+-o <option>::
+--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.
+       When multiple `--server-option=<option>` are given, they are all
+       sent to the other side in the order listed on the command line.
+
 <repository>::
        The "remote" repository to query.  This parameter can be
        either a URL or the name of a remote (see the GIT URLS and