git and openssh issue

Jeremy Bopp jeremy@bopp.net
Thu Jul 22 23:48:00 GMT 2010


On 7/22/2010 2:47 PM, Bill Hoffman wrote:
> On 7/22/2010 11:25 AM, Jeremy Bopp wrote:
> 
>>>
>>> Are there any other experiments you would like to see?   Seems to happen
>>> with any reasonable size git repo.  So, if you were to say clone VTK or
>>> Qt, I am sure you could reproduce this as well.
>>
>> I'm game to try this out.  Can you send me the exact git command you use
>> to clone one or more of these repositories so that I can try to
>> reproduce what you see?
>>
>> -Jeremy
>>
> We have reproduced this with the CMake git repo.  You can find out how
> to get a clone of that here:
> 
> http://www.cmake.org/Wiki/CMake/Git
> 
> So to clone CMake do this:
>  git clone git://cmake.org/cmake.git CMake
> 
> Once you clone CMake to a machine, you can then clone from that machine
> like this:
> 
> Commands for ssh clone:
> 
> $ git clone user@machine:path/to/repo.git
> 
> Commands for rsh clone:
> 
> $ echo '#!/bin/sh
> exec rsh -l user "$@"' > ~/ssh-rsh
> $ chmod 750 ~/ssh-rsh
> $ GIT_SSH=~/ssh-rsh git clone machine:path/to/repo.git
> 
> Commands for plink clone:
> 
>  http://my.afterdawn.com/agent_007/blog_entry.cfm/2909/git_and_cygwin
> 
> 
> One thing that might be a good thing to try is to bisect the openssh
> source.  That might eliminate the cygwin dll as the source of the
> problem.  Or at least find out which change in openssh caused the problem.

Just to clarify things, are you hosting your first clone under Cygwin
(from which you make another clone using Cygwin which fails), or are you
hosting it under a non-Windows system?  It might be good to try this
under the conditions of Cygwin client <-> Cygwin server, Cygwin client
<-> non-Windows server, and non-Windows client <-> Cygwin server.

Hopefully, we can localize the problem to just the client or server code
under Cygwin's ssh.  The bisect operation is not a bad idea, but I'm not
sure what revision of the openssh source was last known to work.  Given
that this is still not 100% reproducible even for you (if I understand
you correctly), the bisect tests may not be completely reliable anyway.

BTW, are you using text mode mounts under Cygwin for any of these
repository clones?

I'm going to try to make some time this evening to give this a quick test.

-Jeremy

--
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



More information about the Cygwin mailing list