pack-format.txt: document sizes at start of delta data
authorMartin Ågren <martin.agren@gmail.com>
Tue, 29 Dec 2020 22:43:35 +0000 (23:43 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 4 Jan 2021 21:00:28 +0000 (13:00 -0800)
commit7b77f5a13effd01c40b3b354d93749ece79e0acc
treeade5ee5177ced13cf06b62ca0892987a30116725
parent898f80736c75878acc02dc55672317fcc0e0a5a6
pack-format.txt: document sizes at start of delta data

We document the delta data as a set of instructions, but forget to
document the two sizes that precede those instructions: the size of the
base object and the size of the object to be reconstructed. Fix this
omission.

Rather than cramming all the details about the encoding into the running
text, introduce a separate section detailing our "size encoding" and
refer to it.

Reported-by: Ross Light <ross@zombiezen.com>
Signed-off-by: Martin Ågren <martin.agren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/pack-format.txt