I need to know what line endings setting to use for Textmate and SVN
I am using Textmate (bran new user) as my editor of choice. Today I did svn diff somefile and found that svn thinks I changed the entire file !
In Textmate, I went to Textmate -> Preferences -> Advanced -> Saving and Set Line Endings to 开发者_StackOverflowLF (recommended). File Encoding is set to UTF8 (recommended).
I guessed that this was the correct setting but I really don't know. Anyway, this is a big deal because my project gets changed a LOT very fast and it is a massive project...thousands of files.
SVN does not care what line endings your files use, it just warns you that they changed.
My guess would be that most of the source code is either written in a Windows based editor (CRLF) or in a pre-OSx editor (CR). Unless your project is Mac-specific I'd bet on the first one.
精彩评论