tags:

views:

67

answers:

1

Hello, I'm using egit for eclipse since today

but there is a problem.

I commited a file(works perfectly), but after the commit the file is staged to commit again? and with "git status" the file is listed "Changes to be committed:" But without any changes "git diff" has no output.

What's the matter?

commiting in command line seems to work as intended. Is it a general egit problem ?

greetings

+2  A: 

Looks like bug 307560

Basically, there appears to be a situation where EGit or JGit change the file mode of a file, either immediately pre- or post- commit, and then the file gets marked as dirty in the project.
Weirdly, EGit picks up the file mode change enough to mark the file as dirty, but not enough to allow you to check in the new file mode change (were you to want to) -- even with the dirty file marker, attempting to commit tells you "No changed items were selected. Do you wish to amend the last commit?"

VonC
thanks this has been bugging me for awhile; nice to know there is a ticket for it!
ksclarke