]> git.ipfire.org Git - thirdparty/git.git/commitdiff
doc: fix naming of response-end-pkt
authorJoey Salazar <jgsal@protonmail.com>
Thu, 18 Feb 2021 00:11:22 +0000 (00:11 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Feb 2021 00:30:43 +0000 (16:30 -0800)
Git Protocol version 2[1] defines 0002 as a Message Packet that indicates
the end of a response for stateless connections.

Change the naming of the 0002 Packet to 'Response End' to match the
parsing introduced in Wireshark's MR !1922 for consistency. A subsequent
MR in Wireshark will address additional mismatches.

[1] kernel.org/pub/software/scm/git/docs/technical/protocol-v2.html
[2] gitlab.com/wireshark/wireshark/-/merge_requests/1922

Signed-off-by: Joey Salazar <jgsal@protonmail.com>
Reviewed-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/protocol-v2.txt

index 85daeb5d9e77f8d597cb7ce7d842598133b7b2a6..c104bbc475b8594c7fd1ad351aff21c49e28d7f7 100644 (file)
@@ -33,8 +33,8 @@ In protocol v2 these special packets will have the following semantics:
 
   * '0000' Flush Packet (flush-pkt) - indicates the end of a message
   * '0001' Delimiter Packet (delim-pkt) - separates sections of a message
-  * '0002' Message Packet (response-end-pkt) - indicates the end of a response
-    for stateless connections
+  * '0002' Response End Packet (response-end-pkt) - indicates the end of a
+    response for stateless connections
 
 Initial Client Request
 ----------------------