Commit c72f5bd9 authored by Wayne Davison's avatar Wayne Davison

A slight simplification to the no-implied-dirs change.

parent 0f57446d
...@@ -857,8 +857,6 @@ int parse_arguments(int *argc, const char ***argv, int frommain) ...@@ -857,8 +857,6 @@ int parse_arguments(int *argc, const char ***argv, int frommain)
if (relative_paths < 0) if (relative_paths < 0)
relative_paths = files_from? 1 : 0; relative_paths = files_from? 1 : 0;
if (!relative_paths)
implied_dirs = 0;
*argv = poptGetArgs(pc); *argv = poptGetArgs(pc);
*argc = count_args(*argv); *argc = count_args(*argv);
...@@ -1240,7 +1238,7 @@ void server_options(char **args,int *argc) ...@@ -1240,7 +1238,7 @@ void server_options(char **args,int *argc)
if (!relative_paths) if (!relative_paths)
args[ac++] = "--no-relative"; args[ac++] = "--no-relative";
} }
if (relative_paths && !implied_dirs && !am_sender) if (!implied_dirs && !am_sender)
args[ac++] = "--no-implied-dirs"; args[ac++] = "--no-implied-dirs";
*argc = ac; *argc = ac;
......
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