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

Re: Error when cloning gc'ed repository

From
GBGabriel Burca <gburca-gmane@ebixio.com>
Date
May 25, 2010, 21:15 UTC
Message-ID
<loom.20100525T230522-721@post.gmane.org>
In-Reply-To
<hj9tr4$5vi$1@ger.gmane.org>
Andre Loker <loker <at> gmx.de> writes:
Show 20 quoted lines
> 
> Andre Loker wrote:
> > Hi,
> > 
> > $ git clone git <at> theserver:the/repository.git
> > Initialized empty Git repository in /e/Temp/dr/.git/
> > remote: Counting objects: 1396, done.
> > remote: Compressing objects: 100% (654/654), done.
> > fatal: The remote end hung up unexpectedly
> > fatal: early EOFs:  47% (657/1396)
> > fatal: index-pack failed
> 
> To answer the question myself: it seems that it is a problem with 
> openssh under cygwin 1.7.1. I found a similar problem here:
> 
> http://www.mail-archive.com/cygwin <at> cygwin.com/msg103749.html
> 
> The proposed workaround is to use plink instead of openssh. I tried it 
> and so far it seems to work. It's not as nice as openssh, but at least 
> it's a workaround until the issue is solved.

I downgraded just the openssh package in cygwin from 5.5p1-1 to 5.4p1-1 and the problem went away. This was easier than switching to putty/plink.

Before the downgrade my rate of failure was 100%. I was doing a "git remote update origin", not a clone, but the symptoms were the same as Andre's.

-- 
Gabriel Burca
Previous: Andre Loker
Message 3 of 3 in “Error when cloning gc'ed repository”
  1. Andre LokerJan 20, 2010
  2. Andre LokerJan 21, 2010
  3. Gabriel BurcaMay 25, 2010

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.