Re: Feature Enhancement Idea.
- From
- Deon George <deon.george@gmail.com>
- Date
- Sep 23, 2009, 11:12 UTC
- Message-ID
- <5b5e291e0909230412r3ce143abgd990c36e27736bae@mail.gmail.com>
- In-Reply-To
- <200909231106.03305.johan@herland.net>
2009/9/23 Johan Herland <johan@herland.net>:
> Have a look at git submodules ('git help submodule'), or the git-subtree
> script that has been discussed on this list a couple of times [1].git submodule looks like it will do a little of what I want - I'll do some more reading on it to see exactly how it works. Thanks for the tip.
My initial look at it seems to miss an important feature that my layer idea would provide. It looks like git submodule assumes that everything in a subdirectory belongs to a repository - with my layer idea, I would want any layer to share the same directory structure and files (or content) belonging to a distinct layer's repository.
IE: the base might provide plugins plugins/README modules modules/README lib/common.php
and a layer might provide plugins/a.php modules/a.php lib/a.php
another layer might provide plugins/b.php modules/b.php lib/b.php
If I was a C developer, I'd have a go at creating it - but I'm just a php developer :) ...deon