cjohansson / emacs-ssh-deploy

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

fix: ".git" matching #60

Closed ShuguangSun closed 5 years ago

ShuguangSun commented 5 years ago

"." should be "\."

cjohansson commented 5 years ago

Can you describe the error? I can't reproduce any issue with ".git/" instead of "\\.git/"

ShuguangSun commented 5 years ago

If I have a folder named agit then it will be matched by ".git/". However, I suppose we just want to filter "\.git/", the git repo, itself.

cjohansson commented 5 years ago

Yes you are right, have you signed the FSF papers? I wonder if merging your commit affects the license of my project..

ShuguangSun commented 5 years ago

I have signed.

cjohansson commented 5 years ago

Alright, can you please escape the dots in .dir-locals.el as well please? Currently it could match other stuff, it should be \\\.dir-locals\\\.el