If --no-ir is specified, pass it to the server.
[rsync/rsync.git] / options.c
index 5adcf7b..4331fc6 100644 (file)
--- a/options.c
+++ b/options.c
@@ -1887,6 +1887,9 @@ void server_options(char **args,int *argc)
        if (numeric_ids)
                args[ac++] = "--numeric-ids";
 
+       if (!allow_inc_recurse)
+               args[ac++] = "--no-ir";
+
        if (am_sender) {
                if (ignore_existing)
                        args[ac++] = "--ignore-existing";