]> git.eshelyaron.com Git - emacs.git/commit
Optimize Tramp's copy-directory
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 24 Aug 2024 10:49:32 +0000 (12:49 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 4 Sep 2024 07:51:27 +0000 (09:51 +0200)
commit9363c2dae490e72788561b8a4e19ad6ac0833eea
treec90f645c625340e0d25e4786e1287025bfef6e7d
parentfc6f0bb0e75fc6773abe78c853887127052f1dda
Optimize Tramp's copy-directory

* lisp/net/tramp-sh.el (tramp-sh-handle-copy-directory):
* lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory):
Don't check existence of DIRNAME, this is done in
`tramp-skeleton-copy-directory' already.

* lisp/net/tramp-sh.el (tramp-sh-handle-copy-directory):
Apply `tramp-do-copy-or-rename-file-directly' if possible.

(cherry picked from commit 16cb27d1d986d8b00ee1da2f7f51e8e6f254f173)
lisp/net/tramp-sh.el
lisp/net/tramp-smb.el