mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-25 07:08:18 -04:00
The server should not be adding an assumed filter rule based on the
partial-dir setting (since the client is sending us the rules).
This commit is contained in:
1 parent
230328a30a
commit
8d6386809e
1 file changed
+1
-1
@@ -1394,7 +1394,7 @@ int parse_arguments(int *argc, const char ***argv, int frommain)
|
||||
clean_fname(partial_dir, 1);
|
||||
if (!*partial_dir || strcmp(partial_dir, ".") == 0)
|
||||
partial_dir = NULL;
|
||||
else if (*partial_dir != '/') {
|
||||
else if (*partial_dir != '/' && !am_server) {
|
||||
parse_rule(&filter_list, partial_dir,
|
||||
MATCHFLG_NO_PREFIXES|MATCHFLG_DIRECTORY, 0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user