]> thyrsus.com Git - comparator.git/commitdiff
Ignore .svn files.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 20 Sep 2004 05:05:35 +0000 (05:05 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 20 Sep 2004 05:05:35 +0000 (05:05 +0000)
shredtree.c

index f0615203672e7267181f2baf0dbdc48a4bf5ccfc..11c75fed619cd877be3ae2c65d5f44138f294be8 100644 (file)
@@ -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))