X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin%2Fdiff-files.c;h=46085f862f937b005493319cea25b93bcb10c999;hb=4dd1fbc7b1df0030f813a05cee19cad2c7a9cbf9;hp=951c7c8994704543fc1784c87a17a1aa47ede257;hpb=3967c995eed9f4046a1dde5ef520d1dbcdedfab8;p=git.git diff --git a/builtin/diff-files.c b/builtin/diff-files.c index 951c7c899..46085f862 100644 --- a/builtin/diff-files.c +++ b/builtin/diff-files.c @@ -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.raw) < 0) { perror("read_cache_preload"); return -1; }