diff --git a/plugins/git4idea/src/git4idea/checkin/GitPushActiveBranchesDialog.java b/plugins/git4idea/src/git4idea/checkin/GitPushActiveBranchesDialog.java index e119aa3f7859..ff28bbc772f4 100644 --- a/plugins/git4idea/src/git4idea/checkin/GitPushActiveBranchesDialog.java +++ b/plugins/git4idea/src/git4idea/checkin/GitPushActiveBranchesDialog.java @@ -978,7 +978,8 @@ public class GitPushActiveBranchesDialog extends DialogWrapper { @Override public String toString() { - return revision.toString(); + String mergeCommitStr = isMerge ? " " + GitBundle.getString("push.active.commit.node.merge") : ""; + return revision.toShortString() + " " + message + mergeCommitStr; } }