remove diff_tree_{setup,release}_paths
[gitweb.git] / builtin / diff-files.c
index 951c7c8994704543fc1784c87a17a1aa47ede257..9200069363ff016d167f6885688650158c12e507 100644 (file)
@@ -61,7 +61,7 @@ int cmd_diff_files(int argc, const char **argv, const char *prefix)
            (rev.diffopt.output_format & DIFF_FORMAT_PATCH))
                rev.combine_merges = rev.dense_combined_merges = 1;
 
-       if (read_cache_preload(rev.diffopt.paths) < 0) {
+       if (read_cache_preload(&rev.diffopt.pathspec) < 0) {
                perror("read_cache_preload");
                return -1;
        }