From 792de924d54a0d6d3ac33fddfa9d6698c5ba2110 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Mon, 5 Jun 2017 12:58:59 +0200 Subject: [PATCH] Fix error in Tramp rsync method * lisp/net/tramp-sh.el (tramp-methods) : Add "-c" argument. Otherwise, `tramp-test10-write-region' could fail. --- lisp/net/tramp-sh.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index 2541fcf5515..70481ab13bf 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el @@ -200,7 +200,7 @@ The string is used in `tramp-methods'.") (tramp-remote-shell-login ("-l")) (tramp-remote-shell-args ("-c")) (tramp-copy-program "rsync") - (tramp-copy-args (("-t" "%k") ("-p") ("-r") ("-s"))) + (tramp-copy-args (("-t" "%k") ("-p") ("-r") ("-s") ("-c"))) (tramp-copy-env (("RSYNC_RSH") ("ssh" "%c"))) (tramp-copy-keep-date t) (tramp-copy-keep-tmpfile t) -- 2.39.2