1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Fixes issue #176 (Recursive Submodules) by adding the --recursive flag to submodule update when using the Git SCM with :git_enable_submodules = true.

This commit is contained in:
Lee Hambley 2010-10-06 12:50:03 +02:00
parent a0240d8f67
commit 8b4015ea24

View file

@ -152,7 +152,7 @@ module Capistrano
if variable(:git_enable_submodules)
execute << "#{git} submodule #{verbose} init"
execute << "#{git} submodule #{verbose} sync"
execute << "#{git} submodule #{verbose} update"
execute << "#{git} submodule #{verbose} update --recursive"
end
execute.join(" && ")