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

git-archive's wrong documentation: really write pax rather than tar

From
HLHin-Tak Leung <htl10@users.sourceforge.net>
Date
Aug 3, 2011, 22:17 UTC
Message-ID
<1312409879.97173.YahooMailClassic@web29501.mail.ird.yahoo.com>
Had a bit of discussion on R-devel a few months ago, and now that I am doing something similiar again I decided to write and report this issue:
http://r.789695.n4.nabble.com/quot-R-CMD-check-quot-accepts-but-quot-R-CMD-INSTALL-quot-rejects-a-tar-ball-td3420479.html
The summary of the problem is that, git-archive's "--format=tar" option really write the pax format most of the time, and some cross-platform archive extraction library (rather than the all-powerful GNU tar) really does not think that's the tar format and bail out.
Is it possible to (1) add a warning in the man-page, or (2) actually fix the problem in git-archive ( archive-tar.c ) to generate more conformant archive packages?
Thanks. BTW, git (and git archive) is a great tool!
Next: Jeff King
Message 1 of 9 in “git-archive's wrong documentation: really write pax rather than tar”
  1. Hin-Tak LeungAug 3, 2011
  2. Jeff KingAug 4, 2011
  3. Junio C HamanoAug 4, 2011
  4. Jeff KingAug 4, 2011
  5. Junio C HamanoAug 4, 2011
  6. Jeff KingAug 4, 2011
  7. René ScharfeAug 4, 2011
  8. Jeff KingAug 4, 2011
  9. Junio C HamanoAug 4, 2011

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.