Thread (3 messages) flat view 3 messages, 2 authors, 2021-10-11

Re: git archive -o something.tar.zst but file info just says "POSIX tar archive"

From: Bagas Sanjaya <hidden>
Date: 2021-10-11 06:43:41

On 10/10/21 18.40, SZEDER Gábor wrote:
   $ 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help