public static @NotNull List<StagedFileOrDirectory> listTree(@NotNull GitRepository repository,
                                                              @NotNull Collection<? extends FilePath> filePaths,
                                                              @NotNull VcsRevisionNumber revision) throws VcsException {
    List<StagedFileOrDirectory> result = new ArrayList<>();
    for (List<String> paths : VcsFileUtil.chunkPaths(repository.getRoot(), filePaths)) {
      result.addAll(listTreeForRawPaths(repository, paths, revision));
    }
    return result;
  }
public static @NotNull List<StagedFileOrDirectory> listTree(@NotNull GitRepository repository,
                                                              @NotNull Collection<? extends FilePath> filePaths,
                                                              @NotNull VcsRevisionNumber revision)