summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2017-06-05 12:58:59 +0200
committerMichael Albinus <michael.albinus@gmx.de>2017-06-05 12:58:59 +0200
commit792de924d54a0d6d3ac33fddfa9d6698c5ba2110 (patch)
tree425aa64d38a45c760db74f8c79a5f67dd5693187 /lisp
parent6ad42aecc243d378d38468fd3efd89bc1fbfb187 (diff)
downloademacs-792de924d54a0d6d3ac33fddfa9d6698c5ba2110.tar.gz
emacs-792de924d54a0d6d3ac33fddfa9d6698c5ba2110.tar.bz2
emacs-792de924d54a0d6d3ac33fddfa9d6698c5ba2110.zip
Fix error in Tramp rsync method
* lisp/net/tramp-sh.el (tramp-methods) <rsync>: Add "-c" argument. Otherwise, `tramp-test10-write-region' could fail.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/net/tramp-sh.el2
1 files changed, 1 insertions, 1 deletions
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)