inploy icon indicating copy to clipboard operation
inploy copied to clipboard

git submodule fails when rails dir is not the repo root dir

Open e2 opened this issue 14 years ago • 1 comments

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.

e2 avatar Mar 10 '10 22:03 e2

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

dcrec1 avatar Mar 11 '10 04:03 dcrec1