Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0f57446
)
A slight simplification to the no-implied-dirs change.
author
Wayne Davison
<wayned@samba.org>
Wed, 19 Jan 2005 00:34:13 +0000
(
00:34
+0000)
committer
Wayne Davison
<wayned@samba.org>
Wed, 19 Jan 2005 00:34:13 +0000
(
00:34
+0000)
options.c
patch
|
blob
|
blame
|
history
diff --git
a/options.c
b/options.c
index
a05b758
..
587329f
100644
(file)
--- 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 < 0)
relative_paths = files_from? 1 : 0;
- if (!relative_paths)
- implied_dirs = 0;
*argv = poptGetArgs(pc);
*argc = count_args(*argv);
*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)
args[ac++] = "--no-relative";
}
- if (
relative_paths &&
!implied_dirs && !am_sender)
+ if (!implied_dirs && !am_sender)
args[ac++] = "--no-implied-dirs";
*argc = ac;
args[ac++] = "--no-implied-dirs";
*argc = ac;