aboutsummaryrefslogtreecommitdiffstats
path: root/diff-no-index.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-02-18 11:31:52 -0800
committerJunio C Hamano <gitster@pobox.com>2009-02-18 11:31:52 -0800
commit25487f8e2ae266936df0f807ae79dca41606e404 (patch)
treedcea5cb274c0618e742644b5cd7b0615202819b7 /diff-no-index.c
parent88e38808cd52aaed327a82d6a6ffdb8b9da621f2 (diff)
parent91e80b984e0afda37d288e550fb5832d2b71568c (diff)
downloadgit-25487f8e2ae266936df0f807ae79dca41606e404.tar.gz
Merge branch 'maint'
* maint: tests: fix "export var=val" Skip timestamp differences for diff --no-index Documentation/git-push: --all, --mirror, --tags can not be combined
Diffstat (limited to 'diff-no-index.c')
-rw-r--r--diff-no-index.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/diff-no-index.c b/diff-no-index.c
index 0dbd9dad8b..0a14268ba9 100644
--- 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);