Re: cg-export incompatible with older versions of GNU tar
From: Petr Baudis <hidden>
Date: 2016-06-15 22:42:07
Dear diary, on Thu, Sep 22, 2005 at 01:23:31PM CEST, I got a letter where Wolfgang Denk [off-list ref] told me that...
Minor compatibility issue: The archives created by the "cg-export" command contain entries that cause problems with older versions of GNU tar: -> cg-export /tmp/foo.tar.bz2 -> tar jtvf /tmp/foo.tar.bz2 ?rw------- git/git 52 1970-01-01 01:00:00 pax_global_header unknown file type `g' drwxr-xr-x git/git 0 2005-09-22 09:46:19 foo/ -rw-r--r-- git/git 134225 2005-09-22 09:46:19 foo/CHANGELOG -rw-r--r-- git/git 15701 2005-09-22 09:46:19 foo/COPYING -rw-r--r-- git/git 9960 2005-09-22 09:46:19 foo/CREDITS -rw-r--r-- git/git 9578 2005-09-22 09:46:19 foo/MAINTAINERS ... -> tar jxf foo.tar.bz2 tar: pax_global_header: Unknown file type 'g', extracted as normal file ... -> tar --version tar (GNU tar) 1.13.25 ... -> rpm -q git-core cogito git-core-0.99.7-1 cogito-0.15-1
This would be a problem with Core GIT's git-tar-tree. The pax headers seem nice to have, though. It is unclear if the tar actually extracts the archive or not, though. Does it just complain with those warnings, or are they fatal errors? -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ VI has two modes: the one in which it beeps and the one in which it doesn't.