void (@NotNull ProgressIndicator indicator) { GitCommandResult result = Git.getInstance().init(project, root); if (!result.success()) { VcsNotifier.getInstance(project).notifyError(INIT_FAILED, GitBundle.message("action.Git.Init.error"), result.getErrorOutputAsHtmlString(), true); return; } if (project.isDefault()) { return; } refreshAndConfigureVcsMappings(project, root, root.getPath()); }