summaryrefslogtreecommitdiff
path: root/Documentation/technical
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-09-08 21:35:57 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-09-08 21:35:57 -0700
commita75341c75aff04a9be8c315b0520db3ff40cd9d5 (patch)
tree293058e3028b56cc448874b9e68225cbfc0a0789 /Documentation/technical
parentMerge branch 'bw/mingw-avoid-inheriting-fd-to-lockfile' into maint (diff)
parentpack-protocol: fix maximum pkt-line size (diff)
downloadtgif-a75341c75aff04a9be8c315b0520db3ff40cd9d5.tar.xz
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
Diffstat (limited to 'Documentation/technical')
-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").