public static List<GitCommittedChangeList> getLocalCommittedChanges(final Project project,
                                                                      final VirtualFile root,
                                                                      final Consumer<? super GitHandler> parametersSpecifier)
    throws VcsException {
    final List<GitCommittedChangeList> rc = new ArrayList<>();

    getLocalCommittedChanges(project, root, parametersSpecifier, committedChangeList -> rc.add(committedChangeList), false);

    return rc;
  }
public static List<GitCommittedChangeList> getLocalCommittedChanges(final Project project,
                                                                      final VirtualFile root,
                                                                      final Consumer<? super GitHandler> parametersSpecifier)