Skip to content

Commit

Permalink
CHEF-1827: We now require Git 1.6.5+
Browse files Browse the repository at this point in the history
  • Loading branch information
btm authored and aglarond committed Apr 11, 2012
1 parent 31142dc commit fa5319e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chef/lib/chef/provider/git.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def checkout
def enable_submodules
if @new_resource.enable_submodules
Chef::Log.info "#{@new_resource} enabling git submodules"
# the --recursive flag means we require git 1.6.5+ now, see CHEF-1827
command = "git submodule update --init --recursive"
shell_out!(command, run_options(:cwd => @new_resource.destination, :log_level => :info))
end
Expand Down

0 comments on commit fa5319e

Please sign in to comment.