projects
/
platform
/
upstream
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6303f9a
)
We now forward the --no-implied-dirs option to the receiving side,
author
Wayne Davison
<wayned@samba.org>
Sat, 22 Sep 2007 21:43:19 +0000
(21:43 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sat, 22 Sep 2007 21:43:19 +0000
(21:43 +0000)
just in case we end up talking protocol 30 in inc_recurse mode.
options.c
patch
|
blob
|
history
diff --git
a/options.c
b/options.c
index
d8993c8
..
4e26ebe
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-1978,7
+1978,8
@@
void server_options(char **args, int *argc_p)
if (!relative_paths)
args[ac++] = "--no-relative";
}
- if (relative_paths && !implied_dirs && !am_sender)
+ /* It's OK that this checks the upper-bound of the protocol_version. */
+ if (relative_paths && !implied_dirs && (!am_sender || protocol_version >= 30))
args[ac++] = "--no-implied-dirs";
if (fuzzy_basis && am_sender)