Commit 89f2a4c2 authored by Wayne Davison's avatar Wayne Davison

Changed implied_dirs to only be non-0 if relative_paths is non-0.

parent 496be30d
......@@ -973,6 +973,8 @@ int parse_arguments(int *argc, const char ***argv, int frommain)
if (relative_paths < 0)
relative_paths = files_from? 1 : 0;
if (!relative_paths)
implied_dirs = 0;
if (!!delete_before + delete_during + delete_after > 1) {
snprintf(err_buf, sizeof err_buf,
......@@ -1471,7 +1473,7 @@ void server_options(char **args,int *argc)
if (!relative_paths)
args[ac++] = "--no-relative";
}
if (!implied_dirs && !am_sender)
if (relative_paths && !implied_dirs && !am_sender)
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