X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org From: "Peter Klavins" To: References: <004301c7fde4$b3af2800$1b0d7800$@net.au> <46F67AF7 DOT 3020003 AT byu DOT net> In-Reply-To: <46F67AF7.3020003@byu.net> Subject: RE: git on cygwin howto? Date: Sun, 23 Sep 2007 23:20:10 +0200 Message-ID: <001e01c7fe27$873b5260$95b1f720$@net.au> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-au Content-Type: multipart/signed; micalg=SHA1; protocol="application/x-pkcs7-signature"; boundary="----=_NextPart_000_0019_01C7FE38.47210B00" Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com ------=_NextPart_000_0019_01C7FE38.47210B00 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit How does the core.autocrlf config setting interact with how the repository is mounted? If I mounted the repository binary, but set core.autocrlf to translate lf to crlf, would my data files still translate to crlf endings when I pull from a Linux repository to Windows, while retaining lf endings when I pull the same repository to a Linux box? That is the functionality that I need. Peter K. ------------------------------------------------------------------------ Peter Klavins Datalon SrL klavins AT netspace DOT net DOT au Viale Giuseppe Mazzini 114/A Mobile +39 339 801 4246 Fax +39 06 233 297 037 00195 Roma RM Italy > -----Original Message----- > From: Eric Blake [mailto:ebb9 AT byu DOT net] > Sent: Sunday, 23 September 2007 4:41 PM > To: cygwin AT cygwin DOT com; klavins AT netspace DOT net DOT au > Subject: Re: git on cygwin howto? > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > According to Peter Klavins on 9/23/2007 7:21 AM: > > Could someone please help me use git on cygwin? Ah, by the way, I > use > > DOS line ends on cygwin, i.e., \r\n not \n like on Linux. Could that > be > > the problem? If so, then maybe it's something cygwin git could be > aware > > of? > > That is exactly the problem. Git won't work if spurious \r appear in > the > files, which is what happens on a text mount when a file is created in > text mode and reopened in binary mode. Mount your git repository on a > binary mount instead. A patch was already proposed upstream to make > git.exe always open files in binary mode, but I don't know whether it > was > ever accepted, and even if it was, it doesn't help for those git > actions > which are still independent scripts instead of built into git.exe. I > suppose that next time I try a release, I could spend more time trying > to > support text mode, but it isn't my highest priority, because git > contains > so many disparate tools that would all need auditing. > > - -- > Don't work too hard, make some time for fun as well! > > Eric Blake ebb9 AT byu DOT net > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (Cygwin) > Comment: Public key at home.comcast.net/~ericblake/eblake.gpg > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFG9nr384KuGfSFAYARAu42AJ9q6itWWXOqTx3rXekSqyLk1dwfvACeIE5y > Fpx89y11gZ2QrWLWtwhx9gc= > =W2TC > -----END PGP SIGNATURE----- ------=_NextPart_000_0019_01C7FE38.47210B00 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEH AQAAoIII3DCCAmQwggHNoAMCAQICEFruQtr9q6U8AK8wWckJJxwwDQYJKoZI hvcNAQEFBQAwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25z dWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBG cmVlbWFpbCBJc3N1aW5nIENBMB4XDTA2MTEyMDEzNDAzM1oXDTA3MTEyMDEz NDAzM1owSTEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEmMCQG CSqGSIb3DQEJARYXa2xhdmluc0BuZXRzcGFjZS5uZXQuYXUwgZ8wDQYJKoZI hvcNAQEBBQADgY0AMIGJAoGBALXNSMCaS9AwSQ722BfHUDNvtomwCibG5VcY aMtL8h+koH/iz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