int (@NotNull File file) { try { boolean cancelled = !GitImplBase.loadFileAndShowInSimpleEditor( myProject, null, file, GitBundle.message("rebase.simple.editor.dialog.title"), CommonBundle.getOkButtonText() ); return cancelled ? ERROR_EXIT_CODE : 0; } catch (Exception e) { LOG.error("Failed to edit git rebase file: " + file, e); return ERROR_EXIT_CODE; } }