Re: git archive -o something.tar.zst but file info just says "POSIX tar archive"
- From
Bagas Sanjaya <bagasdotme@gmail.com>
- Date
- Oct 11, 2021, 06:43 UTC
- Message-ID
- <38ba34f9-47e5-8059-7c16-6cf159c849ad@gmail.com>
- In-Reply-To
- <20211010114025.GA571180@szeder.dev>
On 10/10/21 18.40, SZEDER Gábor wrote:
Show 10 quoted lines
> $ git archive -h |grep -e ' -l' > -l, --list list supported archive formats > $ git archive -l > tar > tgz > tar.gz > zip > > Does it list zstd among the supported formats on your machine? >
Oh, I forgot to add `tar.tar.zst` config option.
Now `git archive -l` lists:
tar tgz tar.gz tar.zst tar.bz2 tar.xz zip
and the corresponding .gitconfig are:
tar.tar.zst.command=zstd -c tar.tar.bz2.command=bzip2 -c tar.tar.xz.command=xz -c
Thanks.
-- An old man doll... just what I always wanted! - Clara