private static @NotNull String getTitleForPaths(@NotNull VirtualFile root, @NotNull Collection<? extends FilePath> filePaths) {
    String joinedPaths = StringUtil.join(filePaths, path -> VcsFileUtil.relativePath(root, path), ", ");
    return StringUtil.shortenTextWithEllipsis(joinedPaths, 100, 0);
  }
private static @NotNull String getTitleForPaths(@NotNull VirtualFile root, @NotNull Collection<? extends FilePath> filePaths)