It is obviously a problem with LF to CRLF conversion of cygwin. It can be deacted by inserting the line
CYGWIN=binmode on top of the cygwin.bat file. The same issue is happening with CVS. Refer also to http://www.gjt.org/mlist/jcvs/msg01888.html Kevin Layer wrote: > > Eric Blake <e...@byu.net> wrote: > >>> Yes, as maintainer of the git package on cygwin, I've seen sporadic >>> failures of the git protocol, which I have always ended up working >>> around >>> by switching over to an http protocol. I'm assuming that it might >>> either >>> be BLODA or an actual bug in cygwin1.dll regarding handling of socket >>> fds >>> across forks, but haven't ever been bothered by it enough to try and >>> debug >>> it, because the workaround of http always works. > > Also, given that other versions of SSH work with the 1.7 git, I would > think this is pretty good evidence that it's a bug in cygwin1.dll. > > Date: Thu, 31 Dec 2009 14:04:16 -0500 > Message-ID: > <6ee4c8380912311104i1869d73dk818e041f2d8b2...@mail.gmail.com> > Subject: Re: git stopped working with 1.7.1 > From: "Brian L." <br...@blucz.com> > To: cygwin@cygwin.com > > ... > > The problem seems to be rooted in cygwin's openssh package. If I point > GIT_SSH at plink.exe (from the putty distribution) and configure > pageant properly for keyless login then git works fine. > > -- > 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 > > > -- View this message in context: http://old.nabble.com/git-stopped-working-with-1.7.1-tp26905956p27189941.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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