summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-09-08 21:35:57 -0700
committerJunio C Hamano <gitster@pobox.com>2016-09-08 21:35:57 -0700
commita75341c75aff04a9be8c315b0520db3ff40cd9d5 (patch)
tree293058e3028b56cc448874b9e68225cbfc0a0789
parentc0e8b3b444a701630c0793c195fd0e8162a95c2c (diff)
parent7841c4801ce51f1f62d376d164372e8677c6bc94 (diff)
downloadgit-a75341c75aff04a9be8c315b0520db3ff40cd9d5.tar.gz
Merge branch 'ls/packet-line-protocol-doc-fix' into maint
Correct an age-old calco (is that a typo-like word for calc) in the documentation. * ls/packet-line-protocol-doc-fix: pack-protocol: fix maximum pkt-line size
-rw-r--r--Documentation/technical/protocol-common.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/technical/protocol-common.txt b/Documentation/technical/protocol-common.txt
index bf30167ae3..ecedb34bba 100644
--- a/Documentation/technical/protocol-common.txt
+++ b/Documentation/technical/protocol-common.txt
@@ -67,9 +67,9 @@ with non-binary data the same whether or not they contain the trailing
LF (stripping the LF if present, and not complaining when it is
missing).
-The maximum length of a pkt-line's data component is 65520 bytes.
-Implementations MUST NOT send pkt-line whose length exceeds 65524
-(65520 bytes of payload + 4 bytes of length data).
+The maximum length of a pkt-line's data component is 65516 bytes.
+Implementations MUST NOT send pkt-line whose length exceeds 65520
+(65516 bytes of payload + 4 bytes of length data).
Implementations SHOULD NOT send an empty pkt-line ("0004").