Hide groups in not: mode because they are not properly computed.
authorFrancois Fleuret <francois@fleuret.org>
Thu, 11 Mar 2010 11:17:17 +0000 (12:17 +0100)
committerFrancois Fleuret <francois@fleuret.org>
Thu, 11 Mar 2010 11:17:17 +0000 (12:17 +0100)
finddup.c

index 1502791..f1e3cf0 100644 (file)
--- a/finddup.c
+++ b/finddup.c
@@ -350,6 +350,9 @@ void start(const char *dirname1, const char *dirname2) {
   if(dirname2) {
     if(strncmp(dirname2, "not:", 4) == 0) {
       not_in = 1;
+      /* We should show groups even in that mode. However they are not
+         properly calculated for now, so we force it off. */
+      show_groups = 0;
       dirname2 += 4;
     }
     if(show_progress) {