There is nothing changed, but eclipse egit marks the file as changed There is nothing changed, but eclipse egit marks the file as changed git git

There is nothing changed, but eclipse egit marks the file as changed


Eclipse Preferences / Team / Git / Configuration / User Settings

("core" section)

key: autocrlfvalue: false

The key should already exist, so just need to edit the value.

If creating a new key then use core.autocrlf.


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