Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » Rebase with dirty working tree shouldn't execute.
Rebase with dirty working tree shouldn't execute. [message #668593] Fri, 06 May 2011 11:21 Go to next message
Pawel is currently offline PawelFriend
Messages: 10
Registered: March 2011
Junior Member
I found that in (native)git, when I try execute REBASE on dirty working tree, git stops with warning: "Working tree is dirty"

When I try this with Eclipse, there is no problem to EGit/JGit.

It is very dangerous when you try eg PULL (with rebase strategy).
When EGit hit in conflict, and you select "abort rebase", you lost all your uncommited changes.
"Rebase abort" is like reset hard.

I think rebase should check status before starts, and not execute if there are any uncommited changes.

Best regards
Pawel.
Re: Rebase with dirty working tree shouldn't execute. [message #673227 is a reply to message #668593] Sun, 22 May 2011 23:24 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 612
Registered: July 2009
Senior Member
That's bad, EGit should behave like native git here. Could you file a bug [1].

[1] https://bugs.eclipse.org/bugs/enter_bug.cgi?product=EGit
Re: Rebase with dirty working tree shouldn't execute. [message #676009 is a reply to message #668593] Thu, 02 June 2011 11:24 Go to previous message
Bernard Leach is currently offline Bernard LeachFriend
Messages: 8
Registered: July 2009
Junior Member
I'm fairly sure that bug has been fixed in the current nightly builds.
Previous Topic:Status of working tree in Repository view
Next Topic:eGit push going to refs/for/master instead of refs/head/master?
Goto Forum:
  


Current Time: Sat Nov 22 00:18:20 GMT 2014

Powered by FUDForum. Page generated in 0.02014 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software