fabacab / git-archive-all.sh

A bash shell script wrapper for git-archive that archives a git superproject and its submodules, if it has any.
214 stars 86 forks source link

tar.gz support #28

Closed BenWiederhake closed 9 years ago

BenWiederhake commented 9 years ago

See discussion on #18

Closes: #18 Closes: #25

fabacab commented 9 years ago

I like this because it means you can use ./git-archive-all.sh with more formats supported by git-archive itself, but note that this method basically asks git to tar and gzip individual repos, then when using git-archive-all with the tar.gz format you'll be decompressing each already-compressed one, and then re-compressing them as part of the $superfile. I still think ./git-archive-all.sh outfile && gzip outfile is the better way to go, because the end result is identical but you don't have to compress, decompress, and then recompress your repos. shrug I noted this in the merge commit but, as implied, still merged. Thanks for taking the time to scratch your itch.