From: Ciprian Dorin, Craciun Date: Wed, 23 Sep 2009 18:17:28 GMT Subject: Re: Feature Enhancement Idea. Message-ID: <8e04b5820909231117k401e7500h822a61cb41db5c0@mail.gmail.com> In-Reply-To: <5b5e291e0909230412r3ce143abgd990c36e27736bae@mail.gmail.com> On Wed, Sep 23, 2009 at 2:12 PM, Deon George wrote: > 2009/9/23 Johan Herland : >> 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