git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Feature Enhancement Idea.

From
DGDeon 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

Previous: Johan HerlandNext: Ciprian Dorin, Craciun
Message 4 of 11 in “Feature Enhancement Idea.”
  1. Deon GeorgeSep 23, 2009
  2. Christian CouderSep 23, 2009
  3. Johan HerlandSep 23, 2009
  4. Deon GeorgeSep 23, 2009
  5. Ciprian Dorin, CraciunSep 23, 2009
  6. Johan HerlandSep 23, 2009
  7. Junio C HamanoSep 23, 2009
  8. Deon GeorgeSep 24, 2009
  9. Jakub NarebskiSep 24, 2009
  10. Deon GeorgeSep 24, 2009
  11. Eric RaibleSep 24, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.