aboutsummaryrefslogtreecommitdiff
path: root/Documentation/technical
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-08-31 10:03:51 -0700
committerJunio C Hamano <gitster@pobox.com>2016-08-31 10:03:51 -0700
commit58e72a2179361bff1d621fd2af403b8766323156 (patch)
tree589e4c5a074cd6260605ffa341819aacf0628559 /Documentation/technical
parent4762bf36d9d4190dd7afdbc9ccc8bd8bc5af40f8 (diff)
parent7841c4801ce51f1f62d376d164372e8677c6bc94 (diff)
downloadgit-58e72a2179361bff1d621fd2af403b8766323156.tar.gz
git-58e72a2179361bff1d621fd2af403b8766323156.tar.xz
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
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 bf30167ae..ecedb34bb 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").