aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/source.rb
diff options
context:
space:
mode:
authorNicholas Watson <nwwatson@gmail.com>2012-05-21 11:42:33 -0400
committerNicholas Watson <nwwatson@gmail.com>2012-05-21 11:42:33 -0400
commit311669dc14213dbf57cbbcd169af41c06f6ed4c8 (patch)
tree6d1a92c2c99b154b9e766267f50f3cdbbd9191f0 /lib/bundler/source.rb
parent4ff58389a147d7271d257bef80f7eeb59d8ff61a (diff)
downloadbundler-311669dc14213dbf57cbbcd169af41c06f6ed4c8.tar.gz
updated copy_to method for recursive git sumodule update.
Diffstat (limited to 'lib/bundler/source.rb')
-rw-r--r--lib/bundler/source.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/bundler/source.rb b/lib/bundler/source.rb
index a1da86a5..f5d55a0d 100644
--- a/lib/bundler/source.rb
+++ b/lib/bundler/source.rb
@@ -552,8 +552,7 @@ module Bundler
git "reset --hard #{@revision}"
if submodules
- git "submodule init"
- git "submodule update"
+ git "submodule update --init --recursive"
end
end
end