summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-08-31 10:03:51 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-08-31 10:03:51 -0700
commit58e72a2179361bff1d621fd2af403b8766323156 (patch)
tree589e4c5a074cd6260605ffa341819aacf0628559
parentMerge branch 'mh/blame-worktree' (diff)
parentpack-protocol: fix maximum pkt-line size (diff)
downloadtgif-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
-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").