Hello!

I believe that CVS should always ignore its admin files, even if `-I!' has
been specified.

Note that it doesn't mean that `CVS' should be removed from the default
ignore list. Someone may define CVSADM to a value other than "CVS", and
then `CVS' directories should be still ignored unless `-I!' is used.

ChangeLog:
        * ignore.c (ignore_files): Ignore CVSADM (which is usually
        "CVS") even if `-I!' has been specified.

_____________________________
--- ignore.c
+++ ignore.c
@@ -458,7 +458,8 @@
     while ((dp = CVS_READDIR (dirp)) != NULL)
     {
        file = dp->d_name;
-       if (strcmp (file, ".") == 0 || strcmp (file, "..") == 0)
+       if (strcmp (file, ".") == 0 || strcmp (file, "..") == 0 ||
+                                      strcmp (file, CVSADM) == 0)
            goto continue_loop;
        if (findnode_fn (ilist, file) != NULL)
            goto continue_loop;
_____________________________

Regards,
Pavel Roskin


_______________________________________________
Bug-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-cvs

Reply via email to