Skip to contentSkip to conversation

config: document value 2 for protocol.version

PATCH In review Brandon Williams 4 participants 5 messages May 22, 2018 – Sep 10, 2018 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 config: document value 2 for protocol.version

Update the config documentation to note the value 2 as an acceptable value for the protocol.version config.

---
 Documentation/config.txt | 2 ++
 1 file changed, 2 insertions(+)
Documentation/config.txt +2 -0
index a05a88fec..ce778883d 100644
@@ -2637,6 +2637,8 @@ protocol.version::
 * `1` - the original wire protocol with the addition of a version string
   in the initial response from the server.
 
+* `2` - wire protocol version 2.
+
 --
 
 pull.ff::
Signature · 1 line
2.17.0.441.gb46fe60e1d-goog
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Brandon Williams

Update the config documentation to note the value 2 as an acceptable value for the protocol.version config.

---
 Documentation/config.txt | 2 ++
 1 file changed, 2 insertions(+)

Thanks.

Documentation/config.txt protocol.version:: · line 2642

Quoted 11 lines
Documentation/config.txt +2 -0
index a05a88fec..ce778883d 100644
@@ -2637,6 +2637,8 @@ protocol.version::
 * `1` - the original wire protocol with the addition of a version string
   in the initial response from the server.
 
+* `2` - wire protocol version 2.
+
 --

Should this mention where the user can find more details (e.g. by saying link:technical/protocol-v2.html[protocol version 2])?

See the reference to the credentials API in "git help credentials" for an example of how that renders.

Jonathan

#2 lore raw

PATCH v2 1/1 config: document value 2 for protocol.version

From: Brandon Williams <[email protected]>

Update the config documentation to note the value 2 as an acceptable value for the protocol.version config.

---
 Documentation/config.txt | 2 ++
 1 file changed, 2 insertions(+)
Documentation/config.txt +2 -0
index eb66a1197..ee3b5dd8e 100644
@@ -2828,6 +2828,8 @@ protocol.version::
 * `1` - the original wire protocol with the addition of a version string
   in the initial response from the server.
 
+* `2` - link:technical/protocol-v2.html[wire protocol version 2].
+
 --
 
 pull.ff::
Signature · 1 line
2.19.0.rc2.392.g5ba43deb5a-goog
#4 lore raw
Quoted 13 lines · Jonathan Nieder
Quoted 10 lines · Josh Steadmon

From: Brandon Williams <[email protected]>

Update the config documentation to note the value 2 as an acceptable value for the protocol.version config.

---
 Documentation/config.txt | 2 ++
 1 file changed, 2 insertions(+)
Quoted 3 lines

Thanks.

Thanks.