X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <46F87EC0.6010401@byu.net> Date: Mon, 24 Sep 2007 21:21:36 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com, klavins AT netspace DOT net DOT au Subject: Re: git on cygwin howto? References: <004301c7fde4$b3af2800$1b0d7800$@net.au> <46F67AF7 DOT 3020003 AT byu DOT net> <001e01c7fe27$873b5260$95b1f720$@net.au> <46F7ABC4 DOT 8090902 AT byu DOT net> <006101c7feba$c45a68a0$4d0f39e0$@net.au> In-Reply-To: <006101c7feba$c45a68a0$4d0f39e0$@net.au> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Peter Klavins on 9/24/2007 8:54 AM: >>> That is the functionality that I need. >> Why? If you are trying to emulate Linux, by using binary mounts, you >> should not want \r in your files. And if you really insist on using >> text >> mounts with git, you are probably better off trying the mingw build of >> git. >> > > I am not trying to emulate Linux, but rather get a replacement version > control system for CVS, whose cygwin port works fine as I need, i.e., > crlf automatically replacing lf in text files, even if the remote > repository is Linux-based and only has lf in text files. I think that a cygwin binary mount, coupled with git's core.autocrlf feature, will do this for you; I only warn you that cygwin tools will probably not be able to do much with the resulting git checkout, but that your third party tools would then see their desired crlf. > My work has > for years been in an environment where text files must be in their > native format regardless of choice of repository and regardless of the > software engineer's choice of desktop. Cygwin's preferred native file format is plain lf, not crlf (ie. the same as in Linux), if you use cygwin binary mounts. I can't speak for mingw (and even if I could, this isn't the list for it). > Given that the cygwin CVS works fine, I wasn't looking for and wasn't > aware that there was a Mingw port of git, I was assuming that the > cygwin git should fit the bill. Thanks for the hint, sorry to have > bothered you. Don't apologize for asking - this list is for discussing cygwin issues, and I'm glad to chime in where I can. Hopefully this thread has proved helpful for you. - -- 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 iD8DBQFG+H7A84KuGfSFAYARAjojAJ4hzYek7UNcUtRL0NjGs15hEemTTgCfctPF 61hMtgXswSUoxMVAPzeMK/o= =mhkf -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/