From a59f605a494dde23f097c9046540bf6a2a3a27d8 Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Sun, 9 Jun 2019 13:22:35 +0100 Subject: [PATCH] git: fix notification text for update after rejected push Commits were "received", not "updated" (as it was previously for files). GitOrigin-RevId: 1022518c4a5d582d7782482ba6da345c10bc3458 --- plugins/git4idea/src/git4idea/push/GitPusher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/git4idea/src/git4idea/push/GitPusher.java b/plugins/git4idea/src/git4idea/push/GitPusher.java index 3b598435a576..fe08f0a8baca 100644 --- a/plugins/git4idea/src/git4idea/push/GitPusher.java +++ b/plugins/git4idea/src/git4idea/push/GitPusher.java @@ -97,7 +97,7 @@ class GitPusher extends Pusher { else { commitsNumber = filteredCommitsNumber + " of " + updatedCommitsNumber; } - String actionText = String.format("View %s %s updated during the push", commitsNumber, + String actionText = String.format("View %s %s received during the push", commitsNumber, pluralize("commit", updatedCommitsNumber)); notification.addAction(NotificationAction.createSimple(actionText, viewCommits)); return notification;