Reset to default
Trending sort is based off of the default sorting method — by highest score — but it boosts votes that have happened recently, helping to surface more up-to-date answers.
It falls back to sorting by highest score if no posts are trending.
Eclipse Preferences / Team / Git / Configuration / User Settings
key: autocrlf value: false
The key should already exist, so just need to edit the value.
If creating a new key then use
One of the first things I’ve had issues with in Git.
I’ve said this forever:
git config --system core.autocrlf false
To get rid of CR highlighting in diff and patch views, use:
git config --system core.whitespace cr-at-eol
If you share your computers with others, replace ‘–system’ with ‘–global’.
As a follow up, as I just ran into the same issue, another reason for EGit detecting all files as changed is a POSIX file permission problem at least when used together with Cygwin’s git.
The following will fix that; however keep in mind that this also means that they are ignored then:
$ git config core.filemode false
For eclipse specific issues for linefeed, you can also change the return character in Eclipse Preferences where you can change the New text file line delimiter from Windows syntax to Unix which should help.
you can ignore whitespace differences with Eclipse settings under Compare/Patch.
Preferences–>General–>Compare/Patch,you can find the “Ignore white space” in the right,and select this option.
I also have the same issue from the Eclipse git commit is showing this issue
once modified file and finally removed the changes from the file even though it showing the file in Un staged changes section.
Eclipse -> Window -> Preferences -> Team -> Git -> Configuration -> User Settings (right side tab)
click on Add Entry
Key : core.autocrlf Value: true
click on Ok then click on Apply -> Ok
Refresh your “Git Staging tab” or check the Team -> commit option. now it will only show the exact changes only.
i had the same issue and nothing of the proposed solutions did work. i hat the
autocrlf feature turned off, the latest version of egit and git installed. the line endings of the repository and local files were both matching.
the problem was caused by an entry in the .gitattributes:
* text=auto eol=lf
i could therefore:
- remove the attribute
- commit the changes
but what also did work was to go to command line and type
git reset –hard
and then refresh in eclipse.
In General->Workspace. Select Text encoding UTF-8