i once had the case that when i closed a diff-view that i had opened from the commit dialog i accidentially hit those key twice.
this lead to the result that the underlying commit dialog vanished as well.
i assume by this all this my states were lost:
* entered text in the commit comment text box
* all altered check states in the files from the commit file listing
* my current highlight position in the commit file listing
(* other states i am currently not aware of)
(clicking the right file state again is sometimes a heavy duty; having lost the draft message for the commit is a bit of a mess as well - i lost some of my values...)
i would have liked this dialog to ask me for "do you really want to loose all your changes and close this window? yes/no" first before closing itself.
Is there such an option?
Regards, Alex.
PS: of course the "are you sure" question is not needed if all of the relevant states are still at their defaults.