From: Wayne Davison Date: Wed, 19 Jan 2005 00:34:13 +0000 (+0000) Subject: A slight simplification to the no-implied-dirs change. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/c72f5bd9c4e60584cf574fc677883b5df4fe098e A slight simplification to the no-implied-dirs change. --- diff --git a/options.c b/options.c index a05b7587..587329f1 100644 --- a/options.c +++ b/options.c @@ -857,8 +857,6 @@ 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; *argv = poptGetArgs(pc); *argc = count_args(*argv); @@ -1240,7 +1238,7 @@ void server_options(char **args,int *argc) if (!relative_paths) args[ac++] = "--no-relative"; } - if (relative_paths && !implied_dirs && !am_sender) + if (!implied_dirs && !am_sender) args[ac++] = "--no-implied-dirs"; *argc = ac;