]> thyrsus.com Git - comparator.git/commitdiff
Finally we seem to have merging right.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 2 Sep 2003 08:56:27 +0000 (08:56 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 2 Sep 2003 08:56:27 +0000 (08:56 +0000)
report.c

index 0b149213edd17af6f8eb21c83f1a0899bd6ec478..f064eca7076a1ee8bf384fdacbd0383a8be188aa 100644 (file)
--- a/report.c
+++ b/report.c
@@ -341,7 +341,7 @@ struct match_t *reduce_matches(void)
             /* if all these matches are within the same tree, toss them */
             heterogenous = 0;
             for (i = 0; i < nmatches; i++)
-                if (sametree(np[i].file, np[(i+1) % nmatches].file))
+                if (!sametree(np[i].file, np[(i+1) % nmatches].file))
                     heterogenous++;
             if (!heterogenous)
                 continue;