| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
|
|
|
| |
- Standardized the format of the opening comment, including adding a
brief description of what's in the file for those that lacked it.
- Added some missing copyright lines.
- Some minor whitespace tweaks (in a few of the files).
|
|
|
|
| |
(which are no longer around).
|
|
|
|
| |
the --relative option enabled.
|
|
|
|
|
|
|
| |
when --prune-empty-dirs was specified.
- Changed the output of debug include/exclude/show/hide/risk/protect
messages to use the appropriate filter terminology instead of
always using the (potentially unclear) include/exclude terms.
|
|
|
|
| |
always reads the exclude information when it is present.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
make our include/exclude code easier to read and maintain, and to
eliminate a buffer copy when handling an absolute-path pattern
(which eliminated the full_name[] buffer). Also added handling
for the new MATCHFLG_WILD3_SUFFIX define that allows a string that
ends with "dir/***" to match the "dir" as well as its contents.
|
|
|
|
|
| |
- Twiddled one comment and added another.
- Twiddled the placement of two else statements.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
difference in how the code behaves due to how it is called).
|
|
|
|
|
| |
older protocol, and we're not sending the exclude list (i.e. the
user didn't specify --delete or they specified --delete-ignored).
|
|
|
|
| |
token.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
rules filtered out before the rule gets stored (not in a post-
filtering pass like the rules that are read-in prior to the run).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
apply to the indicated (sender/receiver) side.
- Added the hide/show and protect/risk filter rules as an alternate
way to specify sender-/receiver-specific include/exclude rules.
- send_rules() now allows f_out to be -1 to indicate that the list
should be scanned but not sent.
- send_rules() now filters the list to remove any items that don't
apply to the current side (after sending the item to the other
side when f_out != -1).
- {send,recv}_filter_list() now transfer the list, even when the
receiver is the server and --delete-excluded was specified (the
exchanged list is appropriately filtered, of course).
- recv_filter_list() uses send_rules() to trim non-applicable rules
when we're a local-server (because we got our filter list without
send/recv calls when fork() duplicated it).
|
|
|
|
| |
define RULE_MATCH() being changed into RULE_STRCMP().
|
| |
|
|
|
|
|
| |
- Only parse the "!" token when MATCHFLG_NO_PREFIXES is set if
MATCHFLG_CVS_IGNORE is also set.
|
| |
|
|
|
|
| |
get_rule_prefix().
|
| |
|
|
|
|
| |
- Changed get_cvs_excludes() to make an mflags arg.
|
|
|
|
|
| |
local transfer), don't duplicate all the filter rules that we
already know about in the forked process.
|
|
|
|
| |
back into a modifier character.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Improved the debug info coming from add_rule().
- Changed add_filter() to parse_rule() and add_filter_file()
to parse_filter_file().
- Changed get_filter_tok() to parse_rule_tok().
- Made the mflags a uint32.
- Added an extra arg to get_rule_prefix() to indicate if we're
building the options for transmission or other purposes.
- The 'C' modifier can now be applied to a '-' rule, so it now
sets a new flag: MATCHFLG_CVS_IGNORE.
- The send_filter_list() and recv_filter_list() functions now handle
all the logic needed to do the right thing for -C (this used to be
in main.c).
|
| |
|
|
|
|
|
|
|
|
| |
add_filter(). This made for less flag conversion between various
MATCHFLG_* and XFLG_* values. It also made it easy to fix a bug
in the handling of no-prefix per-directory include/exclude files.
We also use the new XFLG_OLD_PREFIXES and MATCHFLGS_FROM_CONTAINER
defines.
|
|
|
|
| |
on a non-matching pattern.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Added the "/" modifier to the -/+ filter rules to allow the
rule to specify an absolute path (sets MATCHFLG_ABS_PATH).
- Added the passing of the xflgags to filter_rule() and key off
XFLG_ANCHORED2ABS to prepend the current dirbuf value (was
keing off MATCHFLG_ABS_PATH).
- We no longer allow a '=' to separate the filter rule from its
arg (just a single space or an underscore).
- For triple verbose levels, mention when we look for a filter
file even if we don't find it (used to only mention the file
when it was found).
- A chrooted daemon process now includes /.cvsignore (inside the
chrooted hierarchy) instead of $HOME/.cvsignore.
|
|
|
|
| |
by a daemon's config options.
|
| |
|
|
|
|
|
| |
function called get_rule_prefix().
- Don't pass the per-dir .cvsignore rule from -C for protocols < 29.
|
|
|
|
| |
filter terminology.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
for the --filter option. Some noteworthy changes:
- Added push_local_excludes() and pop_local_excludes() to implement
the changes needed as we go from directory to directory (this takes
the place of the old local_exclude_list var that only handled the
.cvsignore files). These per-dir excludes are linked into the same
exclude list as the global excludes.
- The exclude list is transferred as filter rules to an rsync that
talks protocol 29 or above. It limits itself to just include/exclude
rules for older rsyncs.
|
| |
|
|
|
|
|
|
| |
a "- " in front of any name that starts with a '+' or a '-' and would
otherwise be unprefixed (the old code only did this if the '+' or '-'
was followed by a space).
|
| |
|
|
|
|
| |
set MATCHFLG_DIRECTORY in the mflags we return.
|
| |
|