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

Re: [RFC/PATCH] Implement poor-man's submodule support using commit hooks

From
APAndy Parkins <andyparkins@gmail.com>
Date
Dec 20, 2006, 14:35 UTC
Message-ID
<200612201435.49685.andyparkins@gmail.com>
In-Reply-To
<20061220133648.GQ12411@admingilde.org>
On Wednesday 2006 December 20 13:36, Martin Waitz wrote:
> I started with something similiar, too.
> You can have a look at http://git.admingilde.org/tali/git.git/module
> which tries to implement submodules without changing the core.

I had a look at that; and my previous objection still applies: it blends two repositories. I'd rather they were separate.

Having them separate is what makes my little hook scripts really simple; there is no special initialisation script needed, and the neither the supermodule nor the submodule needs special treatment; and there is no need for any alternates or new object type. If I want to forget about submodule support I just delete the .gitmodules file and it's all back to normal.

I don't say you're wrong in your chosen method, and I don't say I'm right. I wasn't really planning on going much further with these scripts, they actually represent all that I personally want from a submodule system, I am sure others would want far more sophistication.

Andy
-- 
Dr Andy Parkins, M Eng (hons), MIEE
Previous: Andy ParkinsNext: Martin Waitz
Message 12 of 14 in “Implement poor-man's submodule support using commit hooks”
  1. Implement poor-man's submodule support using commit hooksAndy Parkins, Dec 20, 2006
  2. Johannes SixtDec 20, 2006
  3. Andy ParkinsDec 20, 2006
  4. Jakub NarebskiDec 20, 2006
  5. Andy ParkinsDec 20, 2006
  6. Rogan DawesDec 20, 2006
  7. Andy ParkinsDec 20, 2006
  8. Randal L. SchwartzDec 20, 2006
  9. Johannes SchindelinDec 20, 2006
  10. Martin WaitzDec 20, 2006
  11. Andy ParkinsDec 20, 2006
  12. Andy ParkinsDec 20, 2006
  13. Martin WaitzDec 20, 2006
  14. Johannes SixtDec 20, 2006

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.