Re: [PATCH] git-tar-tree: add a test case (resent)
From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:41:59
On Fri, 3 Jun 2005, Rene Scharfe wrote:
What version of tar do you use?
torvalds@ppc970:~> tar --version tar (GNU tar) 1.13.25 Copyright © 2001 Free Software Foundation, Inc. This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute it under the terms of the GNU General Public License; see the file named COPYING for details. Written by John Gilmore and Jay Fenlason.
Also, can you please send me the output the following? cd t; sh t5000-tar-tree.sh; cd trash; tar tvf b.tar
I get ?rw------- git/git 52 1969-12-31 16:00:00 pax_global_header unknown file type `g' drwxr-xr-x git/git 0 2005-05-27 15:00:00 a/ -rw-r--r-- git/git 18 2005-05-27 15:00:00 a/1.......10........20........30........40......481.......10........20........30........40........50 ?rw------- git/git 111 2005-05-27 15:00:00 37e07bc886b166ad2525f1cc7a2df9bda0e07a02.paxheader unknown file type `x' -rw-r--r-- git/git 18 2005-05-27 15:00:00 37e07bc886b166ad2525f1cc7a2df9bda0e07a02.data ?rw------- git/git 112 2005-05-27 15:00:00 f72c8a14fa272506e5de2d779cfe088769158b61.paxheader unknown file type `x' -rw-r--r-- git/git 18 2005-05-27 15:00:00 f72c8a14fa272506e5de2d779cfe088769158b61.data ?rw------- git/git 113 2005-05-27 15:00:00 b53ac87f1a63ea1a2eec65cc8b5bed9130b8c114.paxheader unknown file type `x' -rw-r--r-- git/git 18 2005-05-27 15:00:00 b53ac87f1a63ea1a2eec65cc8b5bed9130b8c114.data -rw-r--r-- git/git 16 2005-05-27 15:00:00 a/a drwxr-xr-x git/git 0 2005-05-27 15:00:00 a/bin/ -rwxr-xr-x git/git 719924 2005-05-27 15:00:00 a/bin/sh tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now which doesn't tell me anything, except I assume it means that my tar doesn't understand extended headers. Linus