From: Segher B. <se...@ke...> - 2010-12-07 18:16:22
|
>>> So does that mean you can have "text" that is CRLF in the repo? >> >> Yes; for example, someone who uses CRLF and has autocrlf=off. >> >> Such a repo is only usable by mswindows users. > > Interesting. I thought that git would always convert text to LF, but it > looks like I was wrong. Then we could get the MS project files in the > repo with CRLF using autocrlf=off (but I wouldn't advocate for this). They can be marked as binary, or as -crlf, or simply as nothing: everyone who checks those files in has the same crlf config as everyone who uses them. The first two options sound safest, yeah. > I'm not seeing any incidence of text not always equating LF on my > proposed solution for the .ac/.am/.sh problem though, unless I'm missing > something. What you are missing is that all people who need the build files with LF line endings, need *all* text files with LF line endings. Segher |