boolean (@NotNull List<? extends GitRepository> repositories, @NotNull String reference, @Nullable String newBranch, boolean force, @NotNull StructuredIdeActivity activity) { GitCompoundResult compoundResult = new GitCompoundResult(myProject); StructuredIdeActivity checkoutOperation = CHECKOUT_OPERATION.startedWithParent(myProject, activity); for (GitRepository repository : repositories) { compoundResult.append(repository, myGit.checkout(repository, reference, newBranch, force, myDetach, myReset)); } checkoutOperation.finished(); if (compoundResult.totalSuccess()) { return true; } notifyError(GitBundle.message("checkout.operation.could.not.checkout.error", reference), compoundResult.getErrorOutputWithReposIndication()); return false; }