Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

submodules #1

Open
rjocoleman opened this Issue Apr 16, 2012 · 3 comments

Comments

Projects
None yet
4 participants

When using modgit on a Magento installation that's SCM'd by git any existing submodules break.

e.g.

$ cd /path/to/project/
$ modgit init
$ modgit clone module-name git://repo.git
$ git submodule init
No submodule mapping found in .gitmodules for path '.modgit/module-name/source'

One solution is to add .modgit to your gitignore, this means that it won't be tracked. I think this is mostly okay as any module updates will be tracked in the magento working directory. However this does limit portability.

Another solution is not to use submodule, making the problem moot, but that's not always practical.

Owner

jreinke commented May 15, 2012

This is a marginal issue but a real one. I'll think about it thank you.

the solution is to add .modgit to your gitignore. working for me

I'll think about solution too.

Same problem here, but add .modgit in my gitignore didn't work for me.

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