path: root/Documentation/technical/protocol-v2.txt
diff options
authorBrandon Williams <>2018-04-23 22:46:22 (GMT)
committerJunio C Hamano <>2018-04-24 02:24:40 (GMT)
commitecc3e5342de203fa2d84c4a49a46aaa87289534b (patch)
treed45eb1da65af81dc7fbbf4613e39a7fadfc8b6d7 /Documentation/technical/protocol-v2.txt
parentbbc39d4020372a0bf8aa399c7550ba58312adfa1 (diff)
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 <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/technical/protocol-v2.txt')
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/technical/protocol-v2.txt b/Documentation/technical/protocol-v2.txt
index 136179d..d7b6f38 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.