git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: cg-export incompatible with older versions of GNU tar

From
Petr Baudis <pasky@suse.cz>
Date
Sep 22, 2005, 12:08 UTC
Message-ID
<20050922120841.GH21019@pasky.or.cz>
In-Reply-To
<20050922112331.75971353A0B@atlas.denx.de>

Dear diary, on Thu, Sep 22, 2005 at 01:23:31PM CEST, I got a letter where Wolfgang Denk <wd@denx.de> told me that...

Show 23 quoted lines
> 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.
Previous: Wolfgang DenkNext: Wolfgang Denk
Message 2 of 4 in “cg-export incompatible with older versions of GNU tar”
  1. Wolfgang DenkSep 22, 2005
  2. Petr BaudisSep 22, 2005
  3. Wolfgang DenkSep 22, 2005
  4. Rene ScharfeSep 22, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.