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

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

Previous: AloisioNext: Stefan Naewe
Message 2 of 10 in “Cannot clone redirecting stdout”
  1. AloisioSep 10, 2009
  2. Stefan NaeweSep 11, 2009
  3. Stefan NaeweSep 11, 2009
  4. Jean-Luc HerrenSep 11, 2009
  5. Jeff KingSep 11, 2009
  6. Jeff KingSep 11, 2009
  7. Johan SørensenSep 11, 2009
  8. Jeff KingSep 11, 2009
  9. Jeff KingSep 11, 2009
  10. Daniel BarkalowSep 11, 2009

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.