Community
Participate
Working Groups
steps to reproduce: 1. open staging view 2. start typing a commit message 3. (accidentally) hit the "amend" button 4. toggle the amend button to undo amend Expected behaviour: original commit message is restored. Observed behaviour: original commit message is lost.
Same thing happens for the commit dialog.
I think the user should be sent a confirmation dialog if he presses amend and the text editor is not empty.
Changed title so that I would have been able to find it with google. P.S.: Me too! ;-)
*** Bug 389775 has been marked as a duplicate of this bug. ***
Fix which applies to staging view and commit dialog pushed to review: https://git.eclipse.org/r/8547 It doesn't use a warning dialog, instead it just restores the old message when deselecting amend.
*** Bug 382719 has been marked as a duplicate of this bug. ***
Merged as 65969094c1b7d992b2558494c1d1b191003f62eb
Verified in 2.2.0.201211112313. Thx Robin!
You're welcome, thanks for testing :). Also added to http://wiki.eclipse.org/EGit/New_and_Noteworthy/2.2#Other_Improvements
Was just going to create a duplicate of this, great to see it's already addressed, thanks!