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

2013-04-10 Thread René Scharfe
Am 08.04.2013 20:36, schrieb BJ Hargrave: Git 1.8.2.1 includes commit bd54cf17 - archive: handle commits with an empty tree Test 2 of t5004-archive-corner-cases, tar archive of empty tree is empty, fails on Mac OS X 10.8.3 (with XCode 4.6.1) since the tar command exits with return code 1 on

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

2013-04-09 Thread René Scharfe
Am 08.04.2013 23:05, schrieb Jeff King: On Mon, Apr 08, 2013 at 02:36:05PM -0400, BJ Hargrave wrote: Git 1.8.2.1 includes commit bd54cf17 - archive: handle commits with an empty tree Test 2 of t5004-archive-corner-cases, tar archive of empty tree is empty, fails on Mac OS X 10.8.3 (with

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

2013-04-08 Thread Jeff King
On Mon, Apr 08, 2013 at 02:36:05PM -0400, BJ Hargrave wrote: Git 1.8.2.1 includes commit bd54cf17 - archive: handle commits with an empty tree Test 2 of t5004-archive-corner-cases, tar archive of empty tree is empty, fails on Mac OS X 10.8.3 (with XCode 4.6.1) since the tar command exits

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

2013-04-08 Thread BJ Hargrave
On Apr 8, 2013, at 17:05 , Jeff King p...@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