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

Support other tar format configured by git `tar.FORMAT.command` setting #41

Open KSR-Yasuda opened 8 months ago

KSR-Yasuda commented 8 months ago

With checking up git tar.FORMAT_NAME.command setting, support various tar format besides tar and tar.gz.

Now I followed the same way of existing code for tar.gz. But I suppose it had better output raw tar format in progress, since it does decompression to concatenate tar files.

KSR-Yasuda commented 8 months ago

But I suppose it had better output raw tar format in progress, since it does decompression to concatenate tar files.

Fixed to use raw (i.e. uncompressed) tar format internally for formats except zip.

It does git archive in raw tar files, and call compressing command after concatenation.