the user's --log-format string) and, if we're not verbose but we're
logging messages, let the server know that --log-format was specified.
* default for remote transfers, and in any case old versions
* of rsync will not understand it. */
+ if (itemize_changes)
+ argstr[x++] = 'i';
if (preserve_hard_links)
argstr[x++] = 'H';
if (preserve_uid)
if (list_only > 1)
args[ac++] = "--list-only";
+ /* The server side doesn't use our log-format, but if verbose isn't
+ * on, they may need to know that we want some extra messages. */
+ if (log_format && !verbose && !itemize_changes)
+ args[ac++] = "--log-format=specified";
+
if (block_size) {
if (asprintf(&arg, "-B%lu", block_size) < 0)
goto oom;