From b2b4539a94939b3052f94415acbf5cec5209f9b7 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 20 Sep 2004 05:05:35 +0000 Subject: [PATCH] Ignore .svn files. --- shredtree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shredtree.c b/shredtree.c index f061520..11c75fe 100644 --- a/shredtree.c +++ b/shredtree.c @@ -42,7 +42,7 @@ static int file_count; static int eligible(const char *file) /* is the specified file eligible to be compared? */ { - if (strstr(file, "CVS") || strstr(file,"RCS") || strstr(file,"SCCS")) + if (strstr(file, "CVS") || strstr(file,"RCS") || strstr(file,"SCCS") || strstr(file, ".svn")) return(0); /* fast check for the most common suffixes */ #define endswith(suff) !strcmp(suff, file + strlen(file) - strlen(suff)) -- 2.43.0