Prepare EGit for the new State MERGING_RESOLVED
commitdd4a8c44bb201fb58c6031ff9324beb817e9bb9d
authorChristian Halstrick <christian.halstrick@sap.com>
Fri, 7 May 2010 14:39:14 +0000 (7 16:39 +0200)
committerChristian Halstrick <christian.halstrick@sap.com>
Fri, 7 May 2010 15:03:48 +0000 (7 17:03 +0200)
treeb22b17085c825cc52b4dcfadaa48c4186867f1a0
parent02c53b21e7fb4e6e7980fa2538b385278b1a52e0
Prepare EGit for the new State MERGING_RESOLVED

JGit will report a new repository state MERGING_RESOLVED. Currently EGit
doesn't support committing in this state. Missing is the correct handling
of the content of .git/MERGE_MESSAGE and .git/MERGE_HEAD. When committing
in this state these contents have to be used and after a successful commit
these files have to be deleted.

This fix adds a special check for this new state and disallows committing
in this state.

This Change depends on JGit Change http://egit.eclipse.org/r/#change,667.
This change will break the build of EGit if this JGit change is not merged.
On the other hand: As soon as the JGit change has been merged we'll have to
merge this change soon.

Signed-off-by: Christian Halstrick <christian.halstrick@sap.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/CommitAction.java