| Summary: | During switching branches and Checkout, EGit should ask user what to do, if there are uncommited changes. | ||
|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Paweł <pawelec_p> |
| Component: | UI | Assignee: | Project Inbox <egit.ui-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | daniel_megert, markus.duft, matthias.sohn, remy.suen, sam.davis, stefan.lay, steffen.pingel, stephan.herrmann |
| Version: | unspecified | ||
| Target Milestone: | 2.1-M1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Paweł
+1. Currently the dialog is not helpful and makes switching branches more heavyweight than it should be. thats actually a git feature according to cgit man pages: if you accidentally worked on the wrong branch, and realize before committing, you can switch, and git will take the changes along. however i agree that this behaviour should be configurable. +1 Especially a stash button on that dialog would be really cool. this button already exists on master :) EGit 2.0.0.201204130249 I just tried the "Reset ..." option, selected "hard" and it seems it *only* performed the reset, but not the checkout. I didn't try to reproduce though. May we expect the final behavior to do the selected [reset/commit/stash] and then *continue* with the checkout? yes, it should continue after the selected action to remove uncommitted changes has finished. (In reply to comment #6) > yes, it should continue after the selected action to remove uncommitted changes > has finished. Cool, looking forward to the fix :) *** Bug 385245 has been marked as a duplicate of this bug. *** Fix proposed: https://git.eclipse.org/r/#/c/7321/ merged as ed119527f1d30405bdf8d891206a49c0f4933f35 |