Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • 4
    Yeah, I looked at that. But I would definitely prefer a commonly packaged tool. Commented Jul 5, 2010 at 10:10
  • Ok, made a very late edit now with a working minimal example.
    – mkluwe
    Commented May 10, 2016 at 19:20
  • 4
    This will not work. git blobs are zlib streams, not raw deflate. This solution works on raw deflate. puff does not process the zlib header and trailer. If you want a utility, you can use pigz, which will decompress the zlib format with the -dz option, as well as generate the zlib format with -z.
    – Mark Adler
    Commented Nov 5, 2017 at 15:41
  • 1
    @MarkAdler -z, --zlib Compress to zlib (.zz) instead of gzip format. As of now this flag is relevant for just compressing, not decompressing. pigz -d < "infile" > "outfile" works just fine.
    – murla
    Commented Mar 18, 2020 at 4:55
  • @mkluwe, I hope you do not mind that I added info about pigz for Windows Git Bash users. This answer is still correct and was very useful for me, I just wanted to further improve it.
    – kriegaex
    Commented Oct 22, 2020 at 0:45