Prevent Git Staging view to lose data when precommit hook aborts commit
commitad79a0c7cf405c44006ae7017af5c455bd01587d
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 6 Mar 2015 14:57:24 +0000 (6 15:57 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Fri, 6 Mar 2015 18:51:10 +0000 (6 19:51 +0100)
tree2a90a7134d2a826da92e1f3ebd0b41135abb49f6
parent2c4655c6209c041ac5f5b95b42356deaeb4559c5
Prevent Git Staging view to lose data when precommit hook aborts commit

- CommitJob should not reset commit message if commit was aborted
- enableCommitWidgets() should not reset text widgets as a side effect

Bug: 461233
Change-Id: Id9902fa169ff68fd5727e88601357ae08a531470
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java