mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
git4idea: IDEADEV-40642: In push active branches dialog added possiblity to push if there is no roots with errors
This commit is contained in:
@@ -69,7 +69,7 @@ public class GitPushActiveBranchesDialog extends DialogWrapper {
|
||||
setOKActionEnabled(false);
|
||||
break;
|
||||
}
|
||||
if (r.remoteCommits != 0) {
|
||||
if (r.remoteCommits != 0 && r.commits.size() != 0) {
|
||||
setErrorText(GitBundle.getString("push.active.error.behind"));
|
||||
setOKActionEnabled(false);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user