diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-04-01 16:23:34 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-04-01 16:23:34 -0700 |
commit | bcf3d1fd9ccc04350d793c077d3c112fb26f43f0 (patch) | |
tree | 94ec20c8619ff467915f659f7803c56745393613 /diff-lib.c | |
parent | bf87e09325f250ded42e1b2a024beb1a52f0d483 (diff) | |
parent | 2cfe8a68ccba86f046080f890102a9a43361cfdd (diff) | |
download | git-bcf3d1fd9ccc04350d793c077d3c112fb26f43f0.tar.gz git-bcf3d1fd9ccc04350d793c077d3c112fb26f43f0.tar.xz |
Merge branch 'jc/maint-diff-q-filter' into maint
* jc/maint-diff-q-filter:
diff --quiet: disable optimization when --diff-filter=X is used
Diffstat (limited to 'diff-lib.c')
-rw-r--r-- | diff-lib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/diff-lib.c b/diff-lib.c index 392ce2bef..f8e33256e 100644 --- a/diff-lib.c +++ b/diff-lib.c @@ -103,7 +103,8 @@ int run_diff_files(struct rev_info *revs, unsigned int option) unsigned dirty_submodule = 0; if (DIFF_OPT_TST(&revs->diffopt, QUICK) && - DIFF_OPT_TST(&revs->diffopt, HAS_CHANGES)) + !revs->diffopt.filter && + DIFF_OPT_TST(&revs->diffopt, HAS_CHANGES)) break; if (!ce_path_match(ce, revs->prune_data)) |