inploy
inploy copied to clipboard
git submodule fails when rails dir is not the repo root dir
Inploy => git submodule update --init You need to run this command from the toplevel of the working tree.
My repo is something like: /my_repo_root/my_www_app
I run rake:local:update from 'my_www_app', because that is where config/deploy.rb is.
Hi, I think we should execute "git submodule init" only if the current folder is the toplevel of the working tree (a .git folder exists for example)
What do you thinks?
Case you agreed, do you want to send a patch?
Thanks for the feedback