Support for aborting a commit also by exiting the editor (fixes #1).