[DGD] lpc-docs submodule

Gary Preston gary at mups.co.uk
Thu May 30 21:50:37 CEST 2013


Hi,

I've just pulled in the recent DGD changes into my vendor-dgd branch and merged them into my develop branch. In doing so, I hit a minor snag and noticed the lpc-docs in the official DGD repo are included as a submodule. 

More recent versions of git (since mid 2012) have support for subtrees (previously was an add-on). If you're not familiar with subtrees, see http://git-scm.com/book/ch6-7.html  If you are, is there any overriding reason to continue using submodules for the docs rather than a remote/vendor branch + subtree?

Subtrees offer a lot more flexibility than submodules in usage of the repo and avoid many of the quirks/annoyances that submodules entail. I can go into a little more detail if needed, but the git-scm submodules and subtree sections cover a lot of the relevant issues (http://git-scm.com/book/en/Git-Tools-Submodules).

Regards,

Gary


More information about the DGD mailing list