Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » git diff and .cproject and character (.cproject)
git diff and .cproject and character [message #1792657] Fri, 20 July 2018 14:45 Go to next message
Steve Iribarne is currently offline Steve IribarneFriend
Messages: 2
Registered: September 2017
Junior Member
We use MCUXpresso which is based off of Eclipse Oxygen 3a.

We have IOS users, Windows 10 Users and Linux Users. I'm noticing that every time I just open MCUXpresso that when I do a `git diff` that I have a bunch of at the end of "some" of the lines.

I believe that is some sort of new line, but I'm not sure where to turn this off/on or whatever I need to do to turn that off.

Can someone please point me to a config setting that I'm obviously missing.

Re: git diff and .cproject and character [message #1792679 is a reply to message #1792657] Sat, 21 July 2018 06:25 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 29598
Registered: July 2009
Senior Member
With Oomph we have a Git clone task, and we make sure that we always set the core autocrlf property to true:

Perhaps some details here will help you understand why that's important:

I believe this property can be set in your global Git configuration in the file system, assuming EGit finds that. In any case, you can configure it globally in Window -> Preferences -> Team -> Git -> Configuration as well.

If you see these undesirable line ending differences on Linux already, you have already checked Windows-style line endings into your repository. You will need to "repair" your repository by recommitting those files with proper Linux-style endings.

You might want to consider creating an Oomph Project setups for your team so that the whole process of creating a properly configured development environment is automated:

You can see examples how such a setup is used here:

and here:

Previous Topic:Access restriction
Next Topic:Cant run Karel the robot or other kinds of programs in Eclipse
Goto Forum:

Current Time: Sat Oct 20 11:31:49 GMT 2018

Powered by FUDForum. Page generated in 0.02830 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top