public static void addPaths(@NotNull Project project, @NotNull VirtualFile root,
                              @NotNull Collection<? extends FilePath> files,
                              boolean force, boolean filterOutIgnored,
                              String... additionalOptions) throws VcsException {
    for (List<String> paths : VcsFileUtil.chunkPaths(root, files)) {
      addPathsImpl(project, root, paths, force, filterOutIgnored, additionalOptions);
    }
    updateAndRefresh(project, root, files, force);
  }
public static void addPaths(@NotNull Project project, @NotNull VirtualFile root,
                              @NotNull Collection<? extends FilePath> files,
                              boolean force, boolean filterOutIgnored,
                              String... additionalOptions)