summaryrefslogtreecommitdiff
path: root/tree-diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-12-26 14:03:18 -0800
committerJunio C Hamano <gitster@pobox.com>2009-12-26 14:03:18 -0800
commit3cc3fb7df67dc9c83b71fec82e5bfb1df3724089 (patch)
treeefdba423f81c7c1a5c1e625a626d361a73165020 /tree-diff.c
parent7ad9cec81d86ccf7a693ad7e1218e238aee5ca9d (diff)
parent97bf2a08095197f43b20b3bc1124552ae24d71bf (diff)
downloadgit-3cc3fb7df67dc9c83b71fec82e5bfb1df3724089.tar.gz
Merge branch 'jc/1.7.0-diff-whitespace-only-status'
* jc/1.7.0-diff-whitespace-only-status: diff.c: fix typoes in comments Make test case number unique diff: Rename QUIET internal option to QUICK diff: change semantics of "ignore whitespace" options Conflicts: diff.h
Diffstat (limited to 'tree-diff.c')
-rw-r--r--tree-diff.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tree-diff.c b/tree-diff.c
index 0459e54d3d..7d745b4406 100644
--- a/tree-diff.c
+++ b/tree-diff.c
@@ -286,7 +286,8 @@ int diff_tree(struct tree_desc *t1, struct tree_desc *t2, const char *base, stru
int baselen = strlen(base);
for (;;) {
- if (DIFF_OPT_TST(opt, QUIET) && DIFF_OPT_TST(opt, HAS_CHANGES))
+ if (DIFF_OPT_TST(opt, QUICK) &&
+ DIFF_OPT_TST(opt, HAS_CHANGES))
break;
if (opt->nr_paths) {
skip_uninteresting(t1, base, baselen, opt);