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

Open
e2 opened this Issue Mar 10, 2010 · 1 comment

Comments

Projects
None yet
2 participants

e2 commented Mar 10, 2010

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.

Owner

dcrec1 commented Mar 11, 2010

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment