bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Updating the default cvsignore list


From: Pavel Roskin
Subject: Re: Updating the default cvsignore list
Date: Wed, 7 Mar 2001 15:33:49 -0500 (EST)

Hello!

> > As a compromise we could settle for *.tar.gz and *.tar.bz2, which would
> > cover products of `make dist', but not e.g. compressed pixmaps.
>
> I think this would be preferable.

Fine. I'm attaching a patch based on this discussion. I also added *.pyc -
compiled Python.

On the other hand, `.' and `..' have been removed since they are always
ignored, even with `-I!'.

The patch is also available online at http://www.red-bean.com/~proski/cvs/

Regards,
Pavel Roskin

____________________________
--- doc/ChangeLog
+++ doc/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-30  Pavel Roskin  <address@hidden>
+
+       * cvs.texinfo (cvsignore): Synchronize list of files ignored by
+       default with ignore.c.
+
 2001-02-20  Larry Jones  <address@hidden>

        * cvs.texinfo (BUGS): There's only one company listed now, not two.
--- doc/cvs.texinfo
+++ doc/cvs.texinfo
@@ -12366,17 +12366,56 @@

 @cindex Ignored files
 @cindex Automatically ignored files
address@hidden
-    RCS     SCCS    CVS     CVS.adm
-    RCSLOG  cvslog.*
-    tags    TAGS
-    .make.state     .nse_depinfo
-    *~      #*      .#*     ,*      _$*     *$
-    *.old   *.bak   *.BAK   *.orig  *.rej   .del-*
-    *.a     *.olb   *.o     *.obj   *.so    *.exe
-    *.Z     *.elc   *.ln
-    core
address@hidden example
address@hidden -- Keep this list sorted and synchronized with ignore.c
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden,*}
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden

 @item
 The per-repository list in
--- src/ChangeLog
+++ src/ChangeLog
@@ -1,3 +1,10 @@
+2001-03-07  Pavel Roskin  <address@hidden>
+
+       * ignore.c (ign_default): Update list of files ignored by
+       default. Remove `.' and `..' - they are processed separately.
+       Add *.backup *.class *.core *.dll *.dvi *.flags *.la *.lib *.lo
+       *.pyc *.sl *.tar.bz2 *.tar.gz .depend .deps .libs ID.
+
 2001-03-07  Larry Jones  <address@hidden>

        * sanity.sh (basica, binfiles2, head, admin): Update to match
--- src/ignore.c
+++ src/ignore.c
@@ -33,9 +33,56 @@
 static int ign_hold = -1;              /* Index where first "temporary" item
                                         * is held */

-const char *ign_default = ". .. core RCSLOG tags TAGS RCS SCCS .make.state\
- .nse_depinfo #* .#* cvslog.* ,* CVS CVS.adm .del-* *.a *.olb *.o *.obj\
- *.so *.Z *~ *.old *.elc *.ln *.bak *.BAK *.orig *.rej *.exe _$* *$";
+static const char *ign_default = \
+"#* " \
+"*$ " \
+"*.BAK " \
+"*.Z " \
+"*.a " \
+"*.backup " \
+"*.bak " \
+"*.class " \
+"*.core " \
+"*.dll " \
+"*.dvi " \
+"*.elc " \
+"*.exe " \
+"*.flags " \
+"*.la " \
+"*.lib " \
+"*.ln " \
+"*.lo " \
+"*.o " \
+"*.obj " \
+"*.olb " \
+"*.old " \
+"*.orig " \
+"*.pyc " \
+"*.rej " \
+"*.sl " \
+"*.so " \
+"*.tar.bz2 " \
+"*.tar.gz " \
+"*~ " \
+",* " \
+".#* " \
+".del-* " \
+".depend " \
+".deps " \
+".libs " \
+".make.state " \
+".nse_depinfo " \
+"CVS " \
+"CVS.adm " \
+"ID " \
+"RCS " \
+"RCSLOG " \
+"SCCS " \
+"TAGS " \
+"_$* " \
+"core " \
+"cvslog.* " \
+"tags";

 #define IGN_GROW 16                    /* grow the list by 16 elements at a
                                         * time */
____________________________




reply via email to

[Prev in Thread] Current Thread [Next in Thread]