From: Gabriel Burca Date: Tue, 25 May 2010 21:15:49 GMT Subject: Re: Error when cloning gc'ed repository Message-ID: In-Reply-To: Andre Loker gmx.de> writes: > > Andre Loker wrote: > > Hi, > > > > $ git clone git 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 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