News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Possible linefeeds issues in SVN repo

Started by stahta01, April 12, 2023, 04:59:38 PM

Previous topic - Next topic

stahta01

I am doing some SVN to Git building and I think these files have linefeed issues.

Tim S.


dos2unix src/sdk/cbart_provider.cpp && \
dos2unix src/include/cbart_provider.h && \
dos2unix src/include/cygwin.h && \
dos2unix src/include/editor_utils.h && \
dos2unix src/include/wxstringhash.h
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Miguel Gimenez

#1
The cpp file has mixed line endings, the others look good. For example (on MSW):

$ file cbart_provider.cpp
cbart_provider.cpp: C source, ASCII text, with CRLF, LF line terminators
$ file wxstringhash.h
wxstringhash.h: C++ source, ASCII text, with CRLF line terminators


EDIT: cbart_provider.cpp fixed in r13256.

sodev

The other files don't have eol-style set, on my windows i got them with LF line endings.

Miguel Gimenez

r13257: Set svn:eol-style to native and svn:keywords to "Date Revision Author URL Id" in the .h files above so they match others.

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]