From: Pete B. <pb...@gm...> - 2010-12-06 13:27:23
|
On 2010.12.06 13:05, Segher Boessenkool wrote: > There isn't really any alternative; you cannot mix cygwin with > "native" mswindows stuff, without issues like these. Yes you can if you commit files that should be CRLF/LF as CRLF/LF in the repo in the first place and use binary mode (-crlf) always, which is my proposal for official. There's aren't any files that I am aware of that would need to be CRLF in cygwin and LF in native, or LF in cygwin and CRLF in native (unless you consider that Notepad should be used to edit files that are meant to be LF'd in the first place, like UNIX shell scripts. If despite the fact that MS project files are text files, we agree that these should better be CRLF'd, I don't see how we could fail to agree that despite the fact that UNIX .sh or autotools .am/.ac are text files, they should be LF always - especially as we've demonstrated 3 different issues with non LF'd ones) If you think that this is not achievable, then you have to agree that you don't believe that git not respect binary settings that ENSURE that you can actually mix cygwin with native Windows, and therefore, that git is flawed. Otherwise, there IS very much an alternative. Regards, /Pete |