Permalink
Browse files

git: Update submodules recursively

  • Loading branch information...
1 parent 95f8669 commit 6a6de6129a129112a30a13378b3d4c0bee6d832e @alsroot alsroot committed with jamtur01 Jan 20, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/puppet/provider/vcsrepo/git.rb
@@ -192,6 +192,8 @@ def update_submodules
at_path do
git('submodule', 'init')
git('submodule', 'update')
+ git('submodule', 'foreach', 'git', 'submodule', 'init')
+ git('submodule', 'foreach', 'git', 'submodule', 'update')
end
end

0 comments on commit 6a6de61

Please sign in to comment.