Commit 33a04593 authored by Wayne Davison's avatar Wayne Davison

We now forward the --no-implied-dirs option to the receiving side,

just in case we end up talking protocol 30 in inc_recurse mode.
parent 6303f9a2
......@@ -1978,7 +1978,8 @@ void server_options(char **args, int *argc_p)
if (!relative_paths)
args[ac++] = "--no-relative";
}
if (relative_paths && !implied_dirs && !am_sender)
/* It's OK that this checks the upper-bound of the protocol_version. */
if (relative_paths && !implied_dirs && (!am_sender || protocol_version >= 30))
args[ac++] = "--no-implied-dirs";
if (fuzzy_basis && am_sender)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment