From: sf Date: Tue, 11 Jul 2006 22:25:43 GMT Subject: Re: [PATCH 2/3] sha1_file: add the ability to parse objects in "pack file format" Message-ID: <44B42567.9010307@stephan-feder.de> In-Reply-To: Linus Torvalds wrote: ... > The common byte sequence for a compressed stream is > > 78 9c ... > > where the first byte is the CMF byte (compression info and method). > > But it's not the only possible such sequence according to the zlib format. No, but 0x78 is the only first byte ever produced by git; the files are always deflated (second nibble is 8) with window size 32K (first nibble is 7).