From c72f5bd9c4e60584cf574fc677883b5df4fe098e Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Wed, 19 Jan 2005 00:34:13 +0000 Subject: [PATCH] A slight simplification to the no-implied-dirs change. --- options.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; -- 2.34.1