[En-Nut-Discussion] Still a lot of file with CRLF

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Mon Feb 4 18:20:36 CET 2013


>>>>> "Harald" == Harald Kipp <harald.kipp at egnite.de> writes:

    Harald> Hi Uwe, On 03.02.2013 13:43, Uwe Bonnes wrote:
    >> on unix a command in (ethernut>/nut like find -type f |xargs file
    >> |grep CRLF |wc give still over 200 hits.
    >> 
    >> Especially the reintegration of the m68k branch added to that count.

    Harald> All text-based files should have set the property eol-style to
    Harald> native

    Harald> http://svnbook.red-bean.com/en/1.7/svn.ref.properties.html

    Harald> executing

    Harald> svn propset svn:eol-style native filename

    Harald> before checking in that file. However, this is often
    Harald> forgotten. There is a way to apply this automatically based on
    Harald> filename patterns, but I have no idea how to do this on
    Harald> Sourceforge's repository.

ethernut/trunk> find nut/include -name \*.h | xargs file | grep CRLF | wc
     57     457    6287
ethernut/trunk> find nut -name \*.c | xargs file | grep CRLF | wc
     35     281    3819

Should I manually set the eol-style on these files?
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------


More information about the En-Nut-Discussion mailing list