if (!checksum_seed)
checksum_seed = time(NULL);
--- orig/exclude.c 2005-02-11 10:53:14
-+++ exclude.c 2005-02-08 18:34:22
++++ exclude.c 2005-02-11 22:39:37
@@ -53,7 +53,8 @@ struct filter_list_struct server_filter_
#define MAX_RULE_PREFIX (16)
+ if ((s = RULE_STRCMP(s, "protect")) != NULL)
+ ch = 'P';
+ break;
++ case 'r':
++ if ((s = RULE_STRCMP(s, "risk")) != NULL)
++ ch = 'R';
++ break;
+ case 's':
-+ if ((s = RULE_STRCMP(s, "send")) != NULL)
++ if ((s = RULE_STRCMP(s, "show")) != NULL)
+ ch = 'S';
+ break;
-+ case 'u':
-+ if ((s = RULE_STRCMP(s, "unprotect")) != NULL)
-+ ch = 'U';
-+ break;
+
default:
ch = *s;
+ new_mflags |= MATCHFLG_SENDER_SIDE;
+ mods = MODIFIERS_HIDE_PROTECT;
+ break;
-+ case 'U':
++ case 'R':
+ new_mflags |= MATCHFLG_INCLUDE;
+ /* FALL THROUGH */
+ case 'P':
struct filter_struct {
struct filter_struct *next;
--- orig/rsync.yo 2005-02-11 10:53:15
-+++ rsync.yo 2005-02-11 10:58:06
++++ rsync.yo 2005-02-11 22:40:50
@@ -679,7 +679,9 @@ send the whole directory (e.g. "dir" or
for the directory's contents (e.g. "dir/*") since the wildcard is expanded
by the shell and rsync thus gets a request to transfer individual files, not
bf(merge, .) specifies a merge-file to read for more rules. nl()
bf(dir-merge, :) specifies a per-directory merge-file. nl()
+bf(hide, H) specifies a pattern for hiding files from the transfer. nl()
-+bf(send, S) the opposite of a "hide". nl()
++bf(show, S) files that match the pattern are not hidden. nl()
+bf(protect, P) specifies a pattern for protecting files from deletion. nl()
-+bf(unprotect, U) the opposite of a "protect". nl()
++bf(risk, R) files that match the pattern are not protected. nl()
bf(clear, !) clears the current include/exclude list (takes no arg) nl()
)
+ it() An bf(r) is used to indicate that the rule applies to the receiving
+ side. When a rule affects the receiving side, it prevents files from
+ being deleted. See the bf(s) modifier for more info. See also the
-+ protect (P) and unprotect (U) rules, which are an alternate way to
++ protect (P) and risk (R) rules, which are an alternate way to
+ specify receiver-side includes/excludes.
+)