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
If we send --files-from to the remote server and relative-paths
[rsync/rsync.git]
/
options.c
diff --git
a/options.c
b/options.c
index
e79f56f
..
70e210d
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-1236,6
+1236,8
@@
void server_options(char **args,int *argc)
args[ac++] = "--files-from=-";
args[ac++] = "--from0";
}
+ if (!relative_paths)
+ args[ac++] = "--no-relative";
}
*argc = ac;