Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Got rid of some unneeded externs.
[rsync/rsync.git]
/
options.c
diff --git
a/options.c
b/options.c
index
5ed404d
..
4e26ebe
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-20,6
+20,7
@@
*/
#include "rsync.h"
*/
#include "rsync.h"
+#include "ifuncs.h"
#include <popt.h>
#include "zlib/zlib.h"
#include <popt.h>
#include "zlib/zlib.h"
@@
-1977,7
+1978,8
@@
void server_options(char **args, int *argc_p)
if (!relative_paths)
args[ac++] = "--no-relative";
}
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)
args[ac++] = "--no-implied-dirs";
if (fuzzy_basis && am_sender)