cjohansson / emacs-ssh-deploy

A deployment plugin via Tramp for Emacs.
GNU General Public License v3.0
152 stars 6 forks source link

ssh-deploy-exclude-list in upload and download handler #59

Closed ShuguangSun closed 5 years ago

ShuguangSun commented 5 years ago

Should we change the ssh-deploy-exclude-list in the upload and download handler to not?

      (if (and (ssh-deploy--is-not-empty-string-p path-local)
               (ssh-deploy--file-is-in-path-p path-local root-local)
               (ssh-deploy--file-is-included-p path-local ssh-deploy-exclude-list))

to

      (if (and (ssh-deploy--is-not-empty-string-p path-local)
               (ssh-deploy--file-is-in-path-p path-local root-local)
               (not (ssh-deploy--file-is-included-p path-local ssh-deploy-exclude-list)))
ShuguangSun commented 5 years ago

My fault. It is because I have a dir named as "agit", so tha ".git/" matchs "agit/".