If we send --files-from to the remote server and relative-paths

are not enabled, we need to also send --no-relative.
This commit is contained in:
Wayne Davison
2004-12-22 09:10:08 +00:00
parent 5b2f48da27
commit c0ab28d1d9

View File

@@ -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;