I'm using Intellij IDEA 14 on Windows and Git as VCS on Unix server.
The line separator in Windows is CLRF (\r\n
) and LF (\n
) in Unix.
In Git, I'm using config --global core.autocrlf input
. This will translate all CRLF's to LF's upon commit.
When I'm using "Reformat code" option on well-formatted file, IDEA marks files as changed and shows diff in line separators only.
How can I disable that in IDEA?