From 2a383be0f11d693fc8890b0f56374de75b7743ab Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 22 Apr 2004 18:17:30 +0000 Subject: [PATCH] Updated the default list of cvs-excluded files and added some extra info on how the option interacts with other include/exclude rules. --- rsync.yo | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/rsync.yo b/rsync.yo index f21ab819..775bb68e 100644 --- a/rsync.yo +++ b/rsync.yo @@ -636,16 +636,25 @@ a file should be ignored. The exclude list is initialized to: -quote(RCS/ SCCS/ CVS/ .svn/ CVS.adm RCSLOG cvslog.* tags TAGS .make.state -.nse_depinfo *~ #* .#* ,* *.old *.bak *.BAK *.orig *.rej .del-* -*.a *.o *.obj *.so *.Z *.elc *.ln core) +quote(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 .svn/) then files listed in a $HOME/.cvsignore are added to the list and any -files listed in the CVSIGNORE environment variable (space delimited). +files listed in the CVSIGNORE environment variable (all cvsignore names +are delimited by whitespace). + +Note that these cvs-exclude rules are inserted into the the user's list +of excludes at the point the -C/--cvs-excludes option is mentioned, so +any other include/exclude rules that precede the option override these +rules, and any options that are specified afterwards are overridden by +these rules. Finally, any file is ignored if it is in the same directory as a -.cvsignore file and matches one of the patterns listed therein. See -the bf(cvs(1)) manual for more information. +.cvsignore file and matches one of the patterns listed therein. +There is not currently a way to override an exclude rule read from +a local .cvsignore file. +See the bf(cvs(1)) manual for more information. dit(bf(--exclude=PATTERN)) This option allows you to selectively exclude certain files from the list of files to be transferred. This is most -- 2.34.1