From: Junio C Hamano Date: Wed, 31 Aug 2016 17:03:51 +0000 (-0700) Subject: Merge branch 'ls/packet-line-protocol-doc-fix' X-Git-Tag: v2.10.0~4 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/58e72a2179361bff1d621fd2af403b8766323156?hp=4762bf36d9d4190dd7afdbc9ccc8bd8bc5af40f8 Merge branch 'ls/packet-line-protocol-doc-fix' 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 --- 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").