The Samba-Bugzilla – Attachment 13436 Details for
Bug 12940
rsync: -C/--cvs-exclude does not ignore SCM ignore files (patch)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add gitignore to cvs_excludes
0001-add-.gitignore-.hgignore-.bzrignore-to-CVS-ignore-li.patch (text/plain), 1.43 KB, created by
Austin English
on 2017-07-28 16:55:56 UTC
(
hide
)
Description:
add gitignore to cvs_excludes
Filename:
MIME Type:
Creator:
Austin English
Created:
2017-07-28 16:55:56 UTC
Size:
1.43 KB
patch
obsolete
>From 350a6e496656b05fec27257e55fc32ceba595897 Mon Sep 17 00:00:00 2001 >From: Austin English <austinenglish@gmail.com> >Date: Thu, 27 Jul 2017 17:05:12 -0500 >Subject: [PATCH] add .gitignore .hgignore .bzrignore to CVS ignore list > >Signed-off-by: Austin English <austinenglish@gmail.com> >--- > 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 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 12940
: 13436