mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
git: fix notification text for update after rejected push
Commits were "received", not "updated" (as it was previously for files). GitOrigin-RevId: 1022518c4a5d582d7782482ba6da345c10bc3458
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c00917a7b8
commit
a59f605a49
@@ -97,7 +97,7 @@ class GitPusher extends Pusher<GitRepository, GitPushSource, GitPushTarget> {
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user