Timeline for How to DEFLATE with a command line tool to extract a git object?
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 2, 2023 at 2:02 | comment | added | j_random_hacker |
Interestingly this worked for me, but omitting the < (stdin redirection) caused it to fail with pigz: skipping: .git/objects/12/2898... does not have compressed suffix
|
|
Jun 6, 2022 at 16:29 | history | edited | mjaggard | CC BY-SA 4.0 |
Added installation instructions for MacOS
|
Oct 22, 2020 at 0:45 | comment | added | kriegaex | @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. | |
Oct 22, 2020 at 0:44 | history | edited | kriegaex | CC BY-SA 4.0 |
Add pigz info for Windows Git Bash users, add syntax highlighting for C code
|
Mar 18, 2020 at 4:55 | comment | added | murla |
@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.
|
|
Nov 16, 2017 at 16:38 | history | edited | mkluwe | CC BY-SA 3.0 |
edited according to Mark's comment
|
Nov 5, 2017 at 15:41 | comment | added | Mark Adler |
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 .
|
|
May 10, 2016 at 19:20 | comment | added | mkluwe | Ok, made a very late edit now with a working minimal example. | |
May 10, 2016 at 19:18 | history | edited | mkluwe | CC BY-SA 3.0 |
added an example
|
Jul 5, 2010 at 20:53 | vote | accept | Felix Geisendörfer | ||
Jul 5, 2010 at 10:10 | comment | added | Felix Geisendörfer | Yeah, I looked at that. But I would definitely prefer a commonly packaged tool. | |
Jul 5, 2010 at 10:08 | history | answered | mkluwe | CC BY-SA 2.5 |