Re: Bug with automated processing of git status results

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 30/06/17 11:09, Matthieu Moy wrote:
Сергей Шестаков <s_shestakov@xxxxxxxxxxx> 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"



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux