Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354076 - Committing failed while 'uncommitting'
Summary: Committing failed while 'uncommitting'
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-06 14:30 EDT by Ed Willink CLA
Modified: 2011-08-06 14:30 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2011-08-06 14:30:52 EDT
While committing four deletes from local master, that came from a merge, to avoid propagating unwanted files to upstream master I get

org.eclipse.team.core.TeamException: An internal error occurred
	at org.eclipse.egit.core.op.CommitOperation.commit(CommitOperation.java:282)
	at org.eclipse.egit.core.op.CommitOperation$1.run(CommitOperation.java:207)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2326)
	at org.eclipse.egit.core.op.CommitOperation.execute(CommitOperation.java:217)
	at org.eclipse.egit.ui.internal.commit.CommitUI$2.run(CommitUI.java:217)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.jgit.api.errors.JGitInternalException: No changes
	at org.eclipse.jgit.api.CommitCommand.createTemporaryIndex(CommitCommand.java:406)
	at org.eclipse.jgit.api.CommitCommand.call(CommitCommand.java:192)
	at org.eclipse.egit.core.op.CommitOperation.commit(CommitOperation.java:271)
	... 6 more

FRom the change in decorations, it appears that the 'no changes; successfully performed the deletes.