public static @NotNull List<StagedFile> listStaged(@NotNull GitRepository repository, @NotNull Collection<? extends FilePath> filePaths)
    throws VcsException {
    Project project = repository.getProject();
    VirtualFile root = repository.getRoot();

    return listStaged(project, root, filePaths);
  }
public static @NotNull List<StagedFile> listStaged(@NotNull GitRepository repository, @NotNull Collection<? extends FilePath> filePaths)