git on cygwin howto?
Tue Sep 25 03:21:00 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
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
>> mounts with git, you are probably better off trying the mingw build of
> 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 firstname.lastname@example.org
-----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
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin