[DGD] lpc-docs submodule

Felix A. Croes felix at dworkin.nl
Thu May 30 23:01:14 CEST 2013


Gary Preston <gary at mups.co.uk> wrote:

> 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).

I like lpc-doc as a submodule because it has a different license.
There is nothing to stop <you> from having it as a subtree.

Regards,
Felix Croes



More information about the DGD mailing list