]> thyrsus.com Git - comparator.git/commitdiff
Exclude SCCS and RCS directories.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 8 Sep 2003 08:06:21 +0000 (08:06 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 8 Sep 2003 08:06:21 +0000 (08:06 +0000)
shredtree.c

index 0cc1f4527f68317593acb6af698eda0e715f5ce0..78afbd14e57e2218fcdf51a623c332d574580a38 100644 (file)
@@ -42,6 +42,8 @@ static int eligible(const char *file)
        return(1);
     else if (endswith(".o") || endswith("~"))
        return(0);
+    else if (strstr(file, "CVS") || strstr(file,"RCS") || strstr(file,"SCCS"))
+       return(0);
 #undef endswith
     else
     {