augustash / capistrano-ash

August Ash recipes for Capistrano
http://augustash.com
MIT License
73 stars 12 forks source link

Remove copying of .git files to the live site. #29

Closed dficker closed 11 years ago

dficker commented 11 years ago

Right now the default exclude file for copying excludes SVN, Capistrano, Ruby, SQL, and README files. I think it should also include ".git" by default so that we do not need to override it in every repository. If this is not done, the git repository gets copied for every release and every backup as currently designed. If it is done with the ".svn" folders, we should do it with ".git" too. I propose it gets added to line 54-55 of "lib/ash/base.rb".