On 30/06/17 11:09, Matthieu Moy wrote:
Сергей Шестаков <s_shesta...@playrix.com> writes:

I understand that we can turn off core.safecrlf, but it's
inconvinient.

Note that you can do that without actually changing the config file:

   git -c core.safecrlf=false status ...

Beside that, I would recommend to set up a .gitattributes file:

$ echo "*.xml text eol=lf" >>.gitattributes
$ git add .gitattributes
$ git commit -m "xml files are text with LF line endings"

Reply via email to