pack-protocol: fix maximum pkt-line size
authorLars Schneider <larsxschneider@gmail.com>
Mon, 29 Aug 2016 17:55:09 +0000 (19:55 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Aug 2016 18:00:29 +0000 (11:00 -0700)
commit7841c4801ce51f1f62d376d164372e8677c6bc94
tree3997218bc933001dddc43247b6b5976726655137
parentb31222cfb7f2fcdc5b3d76ce5fcebf6ff1929826
pack-protocol: fix maximum pkt-line size

According to LARGE_PACKET_MAX in pkt-line.h the maximal length of a
pkt-line packet is 65520 bytes. The pkt-line header takes 4 bytes and
therefore the pkt-line data component must not exceed 65516 bytes.

Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/protocol-common.txt