summaryrefslogtreecommitdiff
path: root/batch.c
diff options
context:
space:
mode:
authorWayne Davison <wayne@opencoder.net>2020-06-26 16:51:30 -0700
committerWayne Davison <wayne@opencoder.net>2020-06-26 17:56:57 -0700
commitab29ee9c44ef8d58bd2a2bf1cf0e911c71a92104 (patch)
tree05ea55a36f4e1ae2972f201f2ffad03836238e4a /batch.c
parentd07c2992d1b672ac8524e462fcb5f4bf223de768 (diff)
downloadrsync-ab29ee9c44ef8d58bd2a2bf1cf0e911c71a92104.tar.gz
Negotation env lists can specify "client & server"
Diffstat (limited to 'batch.c')
-rw-r--r--batch.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/batch.c b/batch.c
index 805acc6f..582c8c16 100644
--- a/batch.c
+++ b/batch.c
@@ -269,14 +269,6 @@ void write_batch_shell_file(void)
err |= write_opt("--exclude-from", "-");
}
- /* We need to make sure that any protocol-based or negotiated choices get accurately
- * reflected in the options we save AND that we avoid any need for --read-batch to
- * do a string-based negotiation (since we don't write them into the file). */
- if (do_compression)
- err |= write_opt("--compress-choice", compress_choice);
- if (strchr(checksum_choice, ',') || xfersum_type != parse_csum_name(NULL, -1))
- err |= write_opt("--checksum-choice", checksum_choice);
-
/* Elide the filename args from the option list, but scan for them in reverse. */
for (i = raw_argc-1, j = cooked_argc-1; i > 0 && j >= 0; i--) {
if (strcmp(raw_argv[i], cooked_argv[j]) == 0) {