mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
git: stop rebase when user clicks Cancel in squash commit message dialog
Fixes IDEA-180118
This commit is contained in:
@@ -76,7 +76,7 @@ public class GitInteractiveRebaseEditorHandler implements Closeable, GitRebaseEd
|
|||||||
try {
|
try {
|
||||||
if (myRebaseEditorShown) {
|
if (myRebaseEditorShown) {
|
||||||
myEditorCancelled = !handleUnstructuredEditor(path);
|
myEditorCancelled = !handleUnstructuredEditor(path);
|
||||||
return 0;
|
return myEditorCancelled ? ERROR_EXIT_CODE : 0;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
setRebaseEditorShown();
|
setRebaseEditorShown();
|
||||||
|
|||||||
Reference in New Issue
Block a user