From: Torsten Bögershausen Date: Fri, 30 Jun 2017 09:22:18 GMT Subject: Re: Bug with automated processing of git status results Message-ID: <70c9a162-ac2f-c347-d13b-f24ac24d1133@web.de> In-Reply-To: On 30/06/17 11:09, Matthieu Moy wrote: > Сергей Шестаков 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"