From: Wayne Davison Date: Thu, 9 Feb 2006 01:15:04 +0000 (+0000) Subject: There's no need to send --size-only to a remote sender. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/f17e769e28284086a874e7a3c39091ca9f09fc77 There's no need to send --size-only to a remote sender. --- diff --git a/options.c b/options.c index 527797f1..9a8b9e88 100644 --- a/options.c +++ b/options.c @@ -1643,11 +1643,10 @@ void server_options(char **args,int *argc) args[ac++] = "--only-write-batch=X"; if (am_root > 1) args[ac++] = "--super"; + if (size_only) + args[ac++] = "--size-only"; } - if (size_only) - args[ac++] = "--size-only"; - if (modify_window_set) { if (asprintf(&arg, "--modify-window=%d", modify_window) < 0) goto oom;