void () { String rebasedBranch = getCommonCurrentBranchNameIfAllTheSame(myRebaseSpec.getAllRepositories()); GitRebaseParams params = myRebaseSpec.getParams(); String baseBranch = params == null ? null : params.getUpstream() != null ? notNull(params.getNewBase(), params.getUpstream()) : params.getNewBase(); if (HEAD.equals(baseBranch)) { baseBranch = getItemIfAllTheSame(myRebaseSpec.getInitialBranchNames().values(), baseBranch); } String message = GitSuccessfulRebase.formatMessage(rebasedBranch, baseBranch, params != null && params.getBranch() != null); myNotifier.notifyMinorInfo(REBASE_SUCCESSFUL, GitBundle.message("rebase.notification.successful.title"), message); }