Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » Rebase with dirty working tree shouldn't execute.
Rebase with dirty working tree shouldn't execute. [message #668593] Fri, 06 May 2011 07:21 Go to next message
Eclipse UserFriend
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 19:24 Go to previous messageGo to next message
Eclipse UserFriend
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 07:24 Go to previous message
Eclipse UserFriend
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: Fri Jul 25 05:55:01 EDT 2025

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

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

Back to the top