cjohansson/emacs-ssh-deploy

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

ShuguangSun opened this issue · 1 comments

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)))

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