[Bug 2240] Add last-match/short-circuit processing of include/exclude

samba-bugs at samba.org samba-bugs at samba.org
Fri Feb 25 17:00:35 GMT 2005


https://bugzilla.samba.org/show_bug.cgi?id=2240





------- Additional Comments From wayned at samba.org  2005-02-25 10:00 -------
Created an attachment (id=985)
 --> (https://bugzilla.samba.org/attachment.cgi?id=985&action=view)
Add optional last-match parsing

Here's a simple patch that allows any filter/include/exclude file to be parsed
in a last-match-wins format.  The file must contain this line (on its own):

[last-match]

This causes all the following rules to be reversed as they are read in, making
them behave in a last-match manner.  This shouldn't cause a problem in an
include/exclude file because the above string would have been a bogus character
range that nobody should have specified.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list