Re: Submodule, subtree, or something else?

2015-08-24 Thread Jānis Rukšāns
On P , 2015-08-24 at 09:51 -0700, Stefan Beller wrote: IIUC, the second command will lookup the submodules in $(pwd), but if they are not there they are skipped, so all of the existing submodules are cloned. Why do you need more submodules in the tmp clone than in $(pwd)/projectA would be my

Re: Submodule, subtree, or something else?

2015-08-24 Thread Jānis Rukšāns
On Sv, 2015-08-23 at 17:13 -0600, Cox, Michael wrote: You might want to take a look at how the Boost (boost.org) project uses submodules. They use submodules for each library. I know they use relative paths in their .gitmodules file to avoid the problem you're referring to regarding git

Re: Submodule, subtree, or something else?

2015-08-23 Thread Jānis Rukšāns
On Pk, 2015-08-21 at 17:07 -0700, Stefan Beller wrote: On Fri, Aug 21, 2015 at 3:47 PM, Jānis Rukšāns janis.ruks...@gmail.com wrote: A major drawback of submodules in my opinion is the inability to make a full clone from an existing one without having access to the central repository

Submodule, subtree, or something else?

2015-08-21 Thread Jānis Rukšāns
Hello, First of all, I apologise for the wall of text that follows; obviously I am bad at this. My $DAYJOB is switching from Subversion to Git, primarily because of it's distributed nature (we are scattered all across the globe), and the ease of branching and merging. One issue that has popped