Author Topic: svn:eol-style changes.  (Read 3600 times)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
svn:eol-style changes.
« 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.

« Last Edit: October 01, 2015, 02:16:58 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: svn:eol-style changes.
« Reply #1 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ