From: Segher B. <se...@ke...> - 2010-12-04 03:04:37
|
>>> Maybe you should check out _all_ text files as LF? > > Eh, Linux editors/viewers seem smart enough. Most tools do not work, or don't work correctly, with CRLF line endings on unix systems. Even many editors/viewers do not (vim/emacs/less work more or less though). > Some Windows > editors/viewers/difftools are particularly brain-dead with regard to line > endings. And, presumably, you want to use those? Hrm. > Thus, anything that can be CRLF probably should be, since the other OSes > handle non-native formats better. No, they don't. And git expects plain LF for line-endings in the checked in repo, for things like its built-in diff, etc. Segher |