Merge branch 'maint'
[gitweb.git] / diff-no-index.c
index e48ab92ba1ae9bfe746eaedaa76fe73421a80cb9..3a36144687ae2f5bf7bb3afc914ddbada8d5ff93 100644 (file)
@@ -260,8 +260,8 @@ void diff_no_index(struct rev_info *revs,
        if (diff_setup_done(&revs->diffopt) < 0)
                die("diff_setup_done failed");
 
-       if (queue_diff(&revs->diffopt, revs->diffopt.paths[0],
-                      revs->diffopt.paths[1]))
+       if (queue_diff(&revs->diffopt, revs->diffopt.pathspec.raw[0],
+                      revs->diffopt.pathspec.raw[1]))
                exit(1);
        diff_set_mnemonic_prefix(&revs->diffopt, "1/", "2/");
        diffcore_std(&revs->diffopt);