From d21756ca9bd9a79c88d3d7d828e94c41f8041a31 Mon Sep 17 00:00:00 2001 From: Mat Schaffer Date: Fri, 22 Feb 2013 22:32:01 -0500 Subject: [PATCH] Allow hidden files Some cookbooks use them: http://community.opscode.com/cookbooks/cpan --- lib/chef/knife/solo_cook.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chef/knife/solo_cook.rb b/lib/chef/knife/solo_cook.rb index 02c78ad6..3aa5a921 100644 --- a/lib/chef/knife/solo_cook.rb +++ b/lib/chef/knife/solo_cook.rb @@ -112,7 +112,7 @@ def rsync_permissions end def rsync_excludes - (%w{revision-deploys tmp '.*'} + chefignore.ignores).uniq + (%w{revision-deploys tmp .git .hg} + chefignore.ignores).uniq end def debug?