delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/27/21:25:37

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4CA14401.40000@gmail.com>
Date: Mon, 27 Sep 2010 21:25:21 -0400
From: Tomas Staig <tomas DOT staig AT gmail DOT com>
User-Agent: Thunderbird 2.0.0.24 (X11/20100317)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: git stopped working with 1.7.1
References: <10711 DOT 1261594527 AT gemini DOT franz DOT com> <27300928 DOT post AT talk DOT nabble DOT com> <4B5D7DDF DOT 6070904 AT gmx DOT de> <6ee4c8381002121948x2a0a48fci7918eae743cc03c8 AT mail DOT gmail DOT com> <26824 DOT 1268333412 AT gemini DOT franz DOT com> <4B9976C5 DOT 8030101 AT cwilson DOT fastmail DOT fm> <4B997742 DOT 2000600 AT redhat DOT com> <17978 DOT 1285605488 AT gemini DOT franz DOT com> <4CA0E145 DOT 8030204 AT gmail DOT com> <20100927195950 DOT GB22191 AT ednor DOT casa DOT cgf DOT cx> <4CA112F4 DOT 8000106 AT gmail DOT com> <20100927230327 DOT GE18236 AT ednor DOT casa DOT cgf DOT cx> <4CA13C8B DOT 5030108 AT gmail DOT com> <29824574 DOT post AT talk DOT nabble DOT com>
In-Reply-To: <29824574.post@talk.nabble.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

survivant wrote:
> Does anyone one have an answer for this problem ?  (I saw lot of threads in
> different forums.. but never an answer.)
>
> I'm trying to clone a repository from my computer to my computer.  I,m using
> cygwin 1.7.   I,m able to clone all my others projects without problems. 
> This project is 900k.. and the others are better than that.
>
>  
>
> I have no idea what going on.  I deleted the project and repush it.. always
> the same problems.
>
>  
>
> $ GIT_TRACE=1 git clone git AT localhost:SmallProject.git
> trace: built-in: git 'clone' 'git AT localhost:SmallProject.git'
>
> Cloning into SmallProject...
> trace: run_command: 'ssh' 'git AT localhost' 'git-upload-pack
> '\''SmallProject.git'\'''
> DEBUG:gitosis.serve.main:Got command "git-upload-pack 'SmallProject.git'"
> DEBUG:gitosis.access.haveAccess:Access check for 'jerabi' as 'writable' on
> 'SmallProject.git'...
> DEBUG:gitosis.access.haveAccess:Stripping .git suffix from
> 'SmallProject.git', new value 'SmallProject'
> DEBUG:gitosis.group.getMembership:found 'jerabi' in 'gitosis-admin'
> DEBUG:gitosis.group.getMembership:found 'jerabi' in 'dev_jerabi'
> DEBUG:gitosis.access.haveAccess:Access ok for 'jerabi' as 'writable' on
> 'SmallProject'
> DEBUG:gitosis.access.haveAccess:Using prefix 'repositories' for
> 'SmallProject'
> DEBUG:gitosis.serve.main:Serving git-upload-pack
> 'repositories/SmallProject.git'
> trace: run_command: 'index-pack' '--stdin' '-v' '--fix-thin'
> '--keep=fetch-pack 6900 on jerabi-THINK'
> trace: exec: 'git' 'index-pack' '--stdin' '-v' '--fix-thin'
> '--keep=fetch-pack 6900 on jerabi-THINK'
> remote: Counting objects: 344, done.
> trace: built-in: git 'index-pack' '--stdin' '-v' '--fix-thin'
> '--keep=fetch-pack 6900 on jerabi-THINK'
> remote: Compressing objects:  58% (134/230)
> remote: Compressing objects: 100% (230/230), done.
> fatal: The remote end hung up unexpectedly
> fatal: early EOF
> fatal: index-pack failed
>
> jerabi AT jerabi-THINK ~/workspaces/test
> $
>
> $ git --version
> git version 1.7.2.3
>   
Don't have a clue of why this happens (some people say it is because of 
openssh, that if you change it for putty's implementation it works well) 
but when that happens to me (while pulling, never tried with clone) I 
just try a couple of times until it succeeds:

for (( i=0 ; i < 100 ; i++ )); do git pull; done

works all the time for me... try something similar but with "git clone 
..." of course.

And well, I'm working with a 4+GB repository, so I'm really thankful 
that the clone worked right away.

I know it's not the best solution, but if it works... it's good enough 
as a temporal workaround.
Hope it works for you.

Cheers,
Tomas.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019