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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux