Re: Cannot clone redirecting stdout
- From
Stefan Naewe <stefan.naewe@atlas-elektronik.com>
- Date
- Sep 11, 2009, 06:39 UTC
- Message-ID
- <4AA9F0A2.6050105@atlas-elektronik.com>
- In-Reply-To
- <fc8ab2ad0909101533l135c8003m80091cb40ec93f16@mail.gmail.com>
On 9/11/2009 12:33 AM, Aloisio wrote:
Show 20 quoted lines
> Hi all, > > I faced a problem when trying to clone git://gitorious.org/qt/qt.git > > this works: > git clone -n git://gitorious.org/qt/qt.git repo > > this doesn't: > git clone -n git://gitorious.org/qt/qt.git repo >log > fatal: The remote end hung up unexpectedly > fatal: early EOF > fatal: index-pack failed > > I reproduced the error in the following versions: > git version 1.6.0.4 > git version 1.6.4.2 > git version 1.5.4.7 > > Any clues? > Thanks
I'd say:
Take a look at /proc/<pid-of-git>/fd
fd 0 (stdout) is linked through a pipe to 'git index-pack'. Redirecting this link breaks everything.
Regards, Stefan