News:

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

Main Menu

Message to oBFusCATed or other CB Devs about patches to CB Projects.

Started by stahta01, October 13, 2014, 05:50:02 PM

Previous topic - Next topic

stahta01

I have added the prefix of "- " to commit message.

Note: I have no idea if you should or can fix the fact of Git treating "src/sdk/resources/lexers/lexer_bibtex.sample" as Binary from my viewpoint or whether it is just a problem on my end.

I think "src/sdk/resources/lexers/lexer_bibtex.sample" was saved with CRLF in it and that is causing the problem.

Tim S.
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]

oBFusCATed

In svn...

I don't know what is going on with the lexer_bibtex.sample...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

stahta01

Quote from: oBFusCATed on October 25, 2014, 01:25:08 AM
In svn...

I don't know what is going on with the lexer_bibtex.sample...

I think this command needs ran on it.

My Git and Svn are set up slightly weird so I get more line ending issues.

I ran this command to create the patch below.

svn propset svn:eol-style native src/sdk/resources/lexers/lexer_bibtex.sample



Index: src/sdk/resources/lexers/lexer_bibtex.sample
===================================================================
--- src/sdk/resources/lexers/lexer_bibtex.sample (revision 10009)
+++ src/sdk/resources/lexers/lexer_bibtex.sample (working copy)

Property changes on: src/sdk/resources/lexers/lexer_bibtex.sample
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property


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]

oBFusCATed

Probably someone with svn checkout should do it, I don't want to test this part of git-svn...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

stahta01

Quote from: oBFusCATed on October 26, 2014, 02:50:05 AM
Probably someone with svn checkout should do it, I don't want to test this part of git-svn...

Sounds correct, I have no idea that git-svn did this even.

But, I thought you had svn checkout, also.

But, I can understand using only one of them. I am still learning Git; I almost feel like I have learned as much about Git as a know about Svn.

FYI:

I found three files in my local Git repo with mixed line ending.
The do NOT seem to have mixed line ending in SVN.

Here the three files; no idea if it is just my local repo with mixed line ending or it is your repo that has the mixed line endings.

src/sdk/scripting/bindings/scriptbindings.cpp
src/sdk/filemanager.cpp
src/plugins/scriptedwizard/compilerpanel.cpp


Thank you again for applying by last 6 commits; I am working some more.
Decided to wait a few days to before asking you to test and apply them.

Tim S.
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]

stahta01

oBFusCATed: Either my Git repo is NOT pulling right or your Git Repo is NOT updating.

Tim S.

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]

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]