{"thread":{"id":"7348","subject":"[PATCH] Documentation/pack-format.txt: Clear up description of types.","startedAt":"2007-03-21T18:43:37Z","lastAt":"2007-03-21T18:43:37Z","messageCount":1,"participants":["Peter Eriksen"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"37692","messageId":"20070321184337.GA2705@bohr.gbar.dtu.dk","threadId":"7348","inReplyTo":null,"subject":"[PATCH] Documentation/pack-format.txt: Clear up description of types.","fromName":"Peter Eriksen","fromEmail":"s022018@student.dtu.dk","sentAt":"2007-03-21T18:43:37Z","receivedAt":"2007-03-21T18:43:37Z","isPatch":true,"sender":{"key":"s022018@student.dtu.dk","avatar":null},"body":"Signed-off-by: Peter Eriksen <s022018@student.dtu.dk>\n---\n Documentation/technical/pack-format.txt |   10 ++++++----\n 1 files changed, 6 insertions(+), 4 deletions(-)\n\ndiff --git a/Documentation/technical/pack-format.txt b/Documentation/technical/pack-format.txt\nindex 0e1ffb2..9ce3c47 100644\n--- a/Documentation/technical/pack-format.txt\n+++ b/Documentation/technical/pack-format.txt\n@@ -21,11 +21,11 @@ GIT pack format\n      which looks like this:\n \n      (undeltified representation)\n-     n-byte type and length (4-bit type, (n-1)*7+4-bit length)\n+     n-byte type and length (3-bit type, (n-1)*7+4-bit length)\n      compressed data\n \n      (deltified representation)\n-     n-byte type and length (4-bit type, (n-1)*7+4-bit length)\n+     n-byte type and length (3-bit type, (n-1)*7+4-bit length)\n      20-byte base object name\n      compressed delta data\n \n@@ -102,11 +102,13 @@ trailer\t  | | packfile checksum              |\n Pack file entry: <+\n \n      packed object header:\n-\t1-byte type (upper 4-bit)\n+\t1-byte size extension bit (MSB)\n+\t       type (next 3 bit)\n \t       size0 (lower 4-bit) \n         n-byte sizeN (as long as MSB is set, each 7-bit)\n \t\tsize0..sizeN form 4+7+7+..+7 bit integer, size0\n-\t\tis the most significant part.\n+\t\tis the least significant part, and sizeN is the\n+\t\tmost significant part.\n      packed object data:\n         If it is not DELTA, then deflated bytes (the size above\n \t\tis the size before compression).\n-- \n1.5.0.4.g1589e\n"}]}