summaryrefslogtreecommitdiff
path: root/Documentation/technical/protocol-v2.txt
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2018-04-23 15:46:22 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-04-24 11:24:40 +0900
commitecc3e5342de203fa2d84c4a49a46aaa87289534b (patch)
treed45eb1da65af81dc7fbbf4613e39a7fadfc8b6d7 /Documentation/technical/protocol-v2.txt
parentMerge branch 'bw/protocol-v2' into HEAD (diff)
downloadtgif-ecc3e5342de203fa2d84c4a49a46aaa87289534b.tar.xz
serve: introduce the server-option capability
Introduce the "server-option" capability to protocol version 2. This enables future clients the ability to send server specific options in command requests when using protocol version 2. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical/protocol-v2.txt')
-rw-r--r--Documentation/technical/protocol-v2.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/technical/protocol-v2.txt b/Documentation/technical/protocol-v2.txt
index 136179d7d8..d7b6f38e0a 100644
--- a/Documentation/technical/protocol-v2.txt
+++ b/Documentation/technical/protocol-v2.txt
@@ -393,3 +393,13 @@ header.
1 - pack data
2 - progress messages
3 - fatal error message just before stream aborts
+
+ server-option
+~~~~~~~~~~~~~~~
+
+If advertised, indicates that any number of server specific options can be
+included in a request. This is done by sending each option as a
+"server-option=<option>" capability line in the capability-list section of
+a request.
+
+The provided options must not contain a NUL or LF character.