From: Eric S. Raymond Date: Mon, 8 Sep 2003 08:06:21 +0000 (+0000) Subject: Exclude SCCS and RCS directories. X-Git-Tag: 1.0~5 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=767f482cb6789fdfab0ea1aa76ef772f76c35712;p=comparator.git Exclude SCCS and RCS directories. --- diff --git a/shredtree.c b/shredtree.c index 0cc1f45..78afbd1 100644 --- a/shredtree.c +++ b/shredtree.c @@ -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 {