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

Re: tar on Mac does not like empty tar from git archive

From
BJ Hargrave <bj@bjhargrave.com>
Date
Apr 8, 2013, 22:07 UTC
Message-ID
<9AA8143E-C8A2-4EB3-AB35-27C7031B4ED7@bjhargrave.com>
In-Reply-To
<20130408210536.GB9649@sigill.intra.peff.net>
On Apr 8, 2013, at 17:05 , Jeff King <peff@peff.net> wrote:
> That makes me think the latter ("we are wrong"). I don't have my OS X
> box handy; can you provide a sample empty tarfile that it creates?
I created mac.tar on my Mac and linux.tar on a RHEL6.3 machine (tar (GNU tar) 1.23). Both were created with 
tar cTf /dev/null xxx.tar
Both files are accepted by tar on both the Mac and the RHEL machines. (Both files contain nothing but zeros.)
-- 
BJ Hargrave
Previous: Jeff KingNext: René Scharfe
Message 3 of 5 in “tar on Mac does not like empty tar from git archive”
  1. BJ HargraveApr 8, 2013
  2. Jeff KingApr 8, 2013
  3. BJ HargraveApr 8, 2013
  4. René ScharfeApr 9, 2013
  5. René ScharfeApr 10, 2013

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.