From: Michael Albinus Date: Mon, 5 Jun 2017 10:58:59 +0000 (+0200) Subject: Fix error in Tramp rsync method X-Git-Tag: emacs-26.0.90~521^2~172 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=792de924d54a0d6d3ac33fddfa9d6698c5ba2110;p=emacs.git Fix error in Tramp rsync method * lisp/net/tramp-sh.el (tramp-methods) : Add "-c" argument. Otherwise, `tramp-test10-write-region' could fail. --- 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)