Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-rebase: Add --stat and --no-stat for producing diffstat on rebase
[gitweb.git]
/
diff-no-index.c
diff --git
a/diff-no-index.c
b/diff-no-index.c
index 0dbd9dad8b100cdd4918571636ad3e9a1a0a2abf..0a14268ba952da5ff66be753cc0cc147ba64ee2b 100644
(file)
--- a/
diff-no-index.c
+++ b/
diff-no-index.c
@@
-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);