On Wed, Sep 23, 2009 at 2:12 PM, Deon George <deon.george@xxxxxxxxx> wrote: > 2009/9/23 Johan Herland <johan@xxxxxxxxxxx>: >> 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 Practically you want something like unionfs [1] but for git. Right? But probably you could settle for something like Hg Queues [2]. Is there similar for Git? Ciprian Craciun. [1] http://en.wikipedia.org/wiki/UnionFS [2] http://mercurial.selenic.com/wiki/MqExtension -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html