OT: question about git submodules (wa: Re: Brief article on benchmarks of Python repository with leading DVCSen)

Alexander Belchenko bialix at ukr.net
Wed Feb 11 09:31:21 GMT 2009


Hi Stephen,

May I ask you about git submodules, the man page is not very clear in 
one place. I'm working on bzr plugin that provides emulation of similar 
workflow, so I'd like to understand git submodules better.

Man page don't say it clear enough: can I use nested submodules?
I guess the answer is "yes" I'm just need to be sure.

What I mean: if I've added repo FOO as submodule with path ./foo, and 
then I want to add repo BAR as submodule with path ./foo/bar, should I 
add BAR to the root superproject, or I can add it to FOO and therefore 
convert FOO submodule to superproject for BAR? What is 
recommended/support way here?

Thank you.



More information about the bazaar mailing list