nadarei/mina — pull request #75 by itzki (2012-12-21 20:09:35+00:00)
Title: Clone as non-bare repository to cache submodules (performance up)

I tried Mina in my project including big submodule (WordPress).
But it takes too much time to clone submodules every deployment.
So I propose that it keeps non-bare repository with submodules like Capistrano's remote-cache.

referred to: https://github.com/capistrano/capistrano/blob/master/lib/capistrano/recipes/deploy/scm/git.rb