Permalink
Browse files

Fixed a bug with git_enable_submodules setting

Previous default argument arg=false was setting the enable_submodules config value to false whenever the function was being called to query the value. This meant that true values were being overridden with false.
  • Loading branch information...
1 parent adc8a1a commit 56a561e825928a33bf86aa5a96cb65d0c33963ff @zpinter zpinter committed May 24, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/chef-deploy.rb
View
@@ -88,7 +88,7 @@ def group(arg=nil)
)
end
- def enable_submodules(arg=false)
+ def enable_submodules(arg=nil)
set_or_return(
:enable_submodules,
arg,

0 comments on commit 56a561e

Please sign in to comment.