From: Stefan Naewe Date: Fri, 11 Sep 2009 06:39:30 GMT Subject: Re: Cannot clone redirecting stdout Message-ID: <4AA9F0A2.6050105@atlas-elektronik.com> In-Reply-To: On 9/11/2009 12:33 AM, Aloisio wrote: > 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//fd fd 0 (stdout) is linked through a pipe to 'git index-pack'. Redirecting this link breaks everything. Regards, Stefan