[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 <proski@gnu.org>
+
+ * cvs.texinfo (cvsignore): Synchronize list of files ignored by
+ default with ignore.c.
+
2001-02-20 Larry Jones <larry.jones@sdrc.com>
* 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
-@example
- 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
-@end example
+@c -- Keep this list sorted and synchronized with ignore.c
+@file{#*}
+@file{*$}
+@file{*.BAK}
+@file{*.Z}
+@file{*.a}
+@file{*.backup}
+@file{*.bak}
+@file{*.class}
+@file{*.core}
+@file{*.dll}
+@file{*.dvi}
+@file{*.elc}
+@file{*.exe}
+@file{*.flags}
+@file{*.la}
+@file{*.lib}
+@file{*.ln}
+@file{*.lo}
+@file{*.o}
+@file{*.obj}
+@file{*.olb}
+@file{*.old}
+@file{*.orig}
+@file{*.pyc}
+@file{*.rej}
+@file{*.sl}
+@file{*.so}
+@file{*.tar.bz2}
+@file{*.tar.gz}
+@file{*~}
+@file{,*}
+@file{.#*}
+@file{.del-*}
+@file{.depend}
+@file{.deps}
+@file{.libs}
+@file{.make.state}
+@file{.nse_depinfo}
+@file{CVS}
+@file{CVS.adm}
+@file{ID}
+@file{RCS}
+@file{RCSLOG}
+@file{SCCS}
+@file{TAGS}
+@file{_$*}
+@file{core}
+@file{cvslog.*}
+@file{tags}
@item
The per-repository list in
--- src/ChangeLog
+++ src/ChangeLog
@@ -1,3 +1,10 @@
+2001-03-07 Pavel Roskin <proski@gnu.org>
+
+ * 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 <larry.jones@sdrc.com>
* 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 */
____________________________