Permalink
Browse files

Merge pull request #12 from davidwinter/patch-1

Recursively update submodules - fixes issue #11
  • Loading branch information...
2 parents f37eb7f + 103cf03 commit a2ad3b1d58ea8e7eb92420afad034ab69ed5f63e @ktheory ktheory committed Apr 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/vlad/git.rb
View
@@ -81,6 +81,6 @@ def fast_checkout_applicable?(revision, destination)
end
def submodule_cmd
- %w(sync init update).map{|cmd| "#{git_cmd} submodule #{cmd}"}.join(" && ")
+ "#{git_cmd} submodule sync && #{git_cmd} submodule update --init --recursive"
end
end

0 comments on commit a2ad3b1

Please sign in to comment.