Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337359

Summary: More Confirmation dialogs needed on some git actions
Product: [Technology] EGit Reporter: <h1055071>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: enhancement    
Priority: P3 CC: craighewetson, jcompagner, matthias.sohn, stefan.lay
Version: 0.12   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description CLA 2011-02-16 15:55:41 EST
I accidentally selected "Cherry-pick" from the menu. The change was made, there was no "Are you sure?" message. Please could we have more confirmation dialogs on actions "Cherry-pick", "Revert Commit", "Merge" and anything else that makes a sudden change?
Comment 1 Stefan Lay CLA 2011-02-21 09:18:05 EST
The actions you mentioned don't damage any data. All of them can be reverted with a reset.

If you have done an action by mistake and have moved your HEAD, you can lookup its former position using git reflog on the command line.
Comment 2 CLA 2011-02-21 10:39:27 EST
(In reply to comment #1)
> The actions you mentioned don't damage any data. All of them can be reverted
> with a reset.
> 
> If you have done an action by mistake and have moved your HEAD, you can lookup
> its former position using git reflog on the command line.

Sure, that's possible. But really, an action such as this should have a confirmation dialog to show the user what they will be doing.
Comment 3 Craig CLA 2012-04-10 02:59:03 EDT
IMO: Commands like pull and "Disconnect" should also have confirmation dialogs.
What about a preference setting? It can be disabled by default.
Comment 4 Johan Compagner CLA 2019-12-11 08:34:32 EST
i would say this bug can be closed, because having confirmation dialogs for everything is very annoying, only if you make a mistake that is not reversible that should be given an dialog like that.
Comment 5 Matthias Sohn CLA 2019-12-11 09:06:29 EST
yep, I think we have enough confirmation dialogs, most of them can be turned off in preferences