]> git.eshelyaron.com Git - emacs.git/commit
In Tramp, use scp "-T" argument if available
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 6 May 2021 15:15:30 +0000 (17:15 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 6 May 2021 15:15:30 +0000 (17:15 +0200)
commitb6f5da3240170fb9750a3304e4b8fa04fe7f2268
treea73491c1a2393290bbdc7433f746f8a185cc6d4b
parent7f317868c5a1be8dd591cd26815e2b34896d31f0
In Tramp, use scp "-T" argument if available

* lisp/net/tramp-sh.el (tramp-scp-strict-file-name-checking): New defvar.
(tramp-scp-strict-file-name-checking): New defun.
(tramp-do-copy-or-rename-file-out-of-band): Use it.
(tramp-methods) <scp, scpx>: Use "%x".
(tramp-make-copy-program-file-name): Use local quoting.
(tramp-sh-handle-make-process): Don't call
`tramp-maybe-open-connection', this happens implicitly by
`tramp-send-command'.

* lisp/net/tramp.el (tramp-methods): Adapt docstring.

* test/lisp/net/tramp-tests.el (tramp-test40-special-characters)
(tramp-test40-special-characters-with-stat)
(tramp-test40-special-characters-with-perl)
(tramp-test40-special-characters-with-ls): Don't skip for
`tramp--test-windows-nt-and-scp-p'.
lisp/net/tramp-sh.el
lisp/net/tramp.el
test/lisp/net/tramp-tests.el