From 350a6e496656b05fec27257e55fc32ceba595897 Mon Sep 17 00:00:00 2001 From: Austin English Date: Thu, 27 Jul 2017 17:05:12 -0500 Subject: [PATCH] add .gitignore .hgignore .bzrignore to CVS ignore list Signed-off-by: Austin English --- exclude.c | 2 +- rsync.yo | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/exclude.c b/exclude.c index 00988a75..afa6d96f 100644 --- a/exclude.c +++ b/exclude.c @@ -1059,7 +1059,7 @@ static char default_cvsignore[] = " *.a *.olb *.o *.obj *.so *.exe" " *.Z *.elc *.ln core" /* The rest we added to suit ourself. */ - " .svn/ .git/ .hg/ .bzr/"; + " .svn/ .git/ .hg/ .bzr/ .gitignore .hgignore .bzrignore"; static void get_cvs_excludes(uint32 rflags) { diff --git a/rsync.yo b/rsync.yo index d56db43d..37c58fae 100644 --- a/rsync.yo +++ b/rsync.yo @@ -1633,7 +1633,8 @@ initial items are marked as perishable -- see the FILTER RULES section): quote(quote(tt(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/ .git/ .hg/ .bzr/))) +*.a *.olb *.o *.obj *.so *.exe *.Z *.elc *.ln core .svn/ .git/ .hg/ .bzr/ +.gitignore .hginore .bzrignore))) then, files listed in a $HOME/.cvsignore are added to the list and any files listed in the CVSIGNORE environment variable (all cvsignore names -- 2.13.0