Re: Error when cloning gc'ed repository
- From
- Gabriel 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