grosser/vendorer — pull request #4 by linki (2012-01-07 18:28:38+00:00)
Title: added :keep_git option to prevent deletion of nested .git folder

hello grosser,

i added a :keep_git option to the folder so vendorer won't delete the nested .git folder.

it's useful when your vendored projects use git submodules for their dependencies and you want to fetch them after cloning, like:

folder 'Vendor/libPusher', 'git://github.com/lukeredpath/libPusher.git', keep_git: true do |path|
puts "fetching submodules in #{path}"
`cd #{path} && git submodule init && git submodule update --recursive`
end

best regards
linki