Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: stahta01 on October 01, 2015, 02:12:15 am

Title: svn:eol-style changes.
Post by: stahta01 on October 01, 2015, 02:12:15 am
I am trying once more to try to learn how to use Git Attributes file.

And, I seemed to have made some progress; but, there is some line feed issues.

I found some mixed line ending files. Edit: I think this is the most important change.
Code
src\plugins\compilergcc\resources\compilers\options_bfin-elf-gcc.xml
src\plugins\compilergcc\resources\compilers\options_lm32-gcc.xml
src\plugins\compilergcc\resources\compilers\options_lm8-gcc.xml
src\plugins\compilergcc\resources\compilers\options_zpu-gcc.xml
src\plugins\contrib\BrowseTracker\BrowseTrackerToolbar.xrc

I think some files should have CRLF for all systems.  Edit: I think this is the least important change.
The command that I think will fix the sln and bat files with native line-endings.
(Tried to make a patch for this change; but, it wanted to re-write the whole file.)
Code
svn propset svn:eol-style CRLF src/plugins/contrib/SpellChecker/hunspell/src/win_api/Hunspell.sln
svn propset svn:eol-style CRLF src/plugins/contrib/wxContribItems/wxchart/build/msw/wxchart.sln
svn propset svn:eol-style CRLF src/sdk/wxpropgrid/build_wx26/propgrid.sln
svn propset svn:eol-style CRLF src/tools/Jing/jing-20150407.bat

And, I made two patches to convert some files to native or LF EOL.

Tim S.

Title: Re: svn:eol-style changes.
Post by: MortenMacFly on October 01, 2015, 08:38:02 am
I found some mixed line ending files. Edit: I think this is the most important change.
[...]
Applied that (and a few more) in SVN. Thank you.