Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: Error when cloning gc'ed repository

From: Gabriel Burca <hidden>
Date: 2016-06-15 22:48:51

Andre Loker <loker <at> gmx.de> writes:
Andre Loker wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help