git-rebase: Update --whitespace documentation
[gitweb.git] / diff-no-index.c
index 0dbd9dad8b100cdd4918571636ad3e9a1a0a2abf..0a14268ba952da5ff66be753cc0cc147ba64ee2b 100644 (file)
@@ -247,6 +247,7 @@ void diff_no_index(struct rev_info *revs,
        else
                revs->diffopt.paths = argv + argc - 2;
        revs->diffopt.nr_paths = 2;
+       revs->diffopt.skip_stat_unmatch = 1;
 
        DIFF_OPT_SET(&revs->diffopt, EXIT_WITH_STATUS);
        DIFF_OPT_SET(&revs->diffopt, NO_INDEX);