/** Show dialog for the project */ public static void showDialogForProject(final Project project) { GitVcs vcs = GitVcs.getInstance(project); List<VirtualFile> roots = GitRepositoryAction.getGitRoots(project, vcs); if (roots == null) { return; } List<VcsException> pushExceptions = new ArrayList<VcsException>(); showDialog(project, roots, pushExceptions); vcs.showErrors(pushExceptions, GitBundle.getString("push.active.action.name")); }