void (@NotNull Notification notification) { GitCompoundResult result = doRollback(); if (result.totalSuccess()) { notification.expire(); } else { myNotifier.notifyError(BRANCH_DELETION_ROLLBACK_ERROR, GitBundle.message("delete.branch.operation.could.not.restore.branch.error", formatBranchName(myBranchName)), result.getErrorOutputWithReposIndication(), true); } }