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

Re: Cannot clone redirecting stdout

From
Jeff King <peff@peff.net>
Date
Sep 11, 2009, 13:51 UTC
Message-ID
<20090911135110.GA30860@coredump.intra.peff.net>
In-Reply-To
<20090911102329.GA13044@sigill.intra.peff.net>
On Fri, Sep 11, 2009 at 06:23:29AM -0400, Jeff King wrote:
Show 19 quoted lines
> > 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 can reproduce the problem here. But after staring at the strace for a
> long time, I don't think the problem is on the client side. The remote
> end _does_ hang up unexpectedly.
> 
> Looking at what we send, the only difference between the redirected and
> unredirected case I could find is that we send the "no-progress" flag to
> the server, which then hangs up on us instead of sending us the pack.
> Which makes no sense.

I did a little more testing, and I can't reproduce the problem against a local git-daemon. I tried using several versions for the server, going all the way back to v1.5.0, which pre-dates no-progress, and all of them worked just fine.

So I am inclined to think there is something non-standard or broken at gitorious.org. I'm cc'ing support@gitorious to see if they have any comment.

-Peff
Previous: Jeff KingNext: Johan Sørensen
Message 6 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.