"Guenter" <li...@gknw.net> wrote:

Another option we could do in our GIT would be to at least add *.c and *.h to .gitattributes to so that they are also always forced to be checked out in LF format; AFAIK all compilers can deal with this.

Haven't followed the thread so closely. The core problem is with the
GNU bash, right? If so, another option would be to use a proper 'sh' program that understands CRLF endings. Like the 'sh' shipped with Git.

I have 3 versions of 'sh' here. Only the Cygwin have problems with '\r\n'
files. And that 'sh' is *newer* than the ones (i686-pc-msys, v. 3.1.17)
that has no problems with this. A pathetic problem really.

--gv
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to