Don't try to optimize-away the sending of the --delete option if

--delete-after was specified (since we don't know what the protocol
version will be yet).
This commit is contained in:
Wayne Davison
2004-09-08 07:33:06 +00:00
parent 3bb400ca14
commit a20c9893e4

View File

@@ -1013,8 +1013,7 @@ void server_options(char **args,int *argc)
if (am_sender) {
if (delete_excluded)
args[ac++] = "--delete-excluded";
else if (delete_mode
&& (!delete_after || protocol_version < 27))
else if (delete_mode)
args[ac++] = "--delete";
if (delete_after)