public static boolean commitVcsChanges(@NotNull Project project,
                                         @NotNull Collection<?> included,
                                         @Nullable LocalChangeList initialChangeList,
                                         @Nullable String comment,
                                         @Nullable CommitResultHandler customResultHandler) {
    boolean showVcsCommit = true;
    Set<AbstractVcs> affectedVcses = getVcsesForLocalChanges(project, showVcsCommit);
    if (affectedVcses.isEmpty()) {
      showNothingToCommitMessage(project);
      return false;
    }

    List<CommitExecutor> executors = getCommitExecutors(project, affectedVcses);
    return showCommitDialog(project, affectedVcses, included, initialChangeList, executors, showVcsCommit,
                            comment, customResultHandler);
  }
public static boolean commitVcsChanges(@NotNull Project project,
                                         @NotNull Collection<?> included,
                                         @Nullable LocalChangeList initialChangeList,
                                         @Nullable String comment,
                                         @Nullable CommitResultHandler customResultHandler)