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

Re: [PATCH/RFC] Add post-init hook

From
Jeff King <peff@peff.net>
Date
Oct 9, 2008, 01:41 UTC
Message-ID
<20081009014146.GA14204@coredump.intra.peff.net>
In-Reply-To
<57518fd10810080116gd876f9bv169f575087baccd7@mail.gmail.com>
On Wed, Oct 08, 2008 at 09:16:56AM +0100, Jonathan del Strother wrote:
> > Why is the --template parameter to clone and init not sufficient?
> >
>  Partly that I never remember to include the --template parameter,

In that case, I would think a core.template parameter might make more sense.

> partly that I wanted to customize its behaviour (it copies the files,
> I want symlinks so I only have to edit my hooks in one place whenever
> I change them)

This makes a lot of sense to me as a best-practice. I wonder if we wouldn't do better to add a core.symlink-templates option?

-Peff
Previous: Jonathan del StrotherNext: Junio C Hamano
Message 4 of 7 in “Add post-init hook”
  1. Add post-init hookJonathan del Strother, Oct 7, 2008
  2. Jeff KingOct 8, 2008
  3. Jonathan del StrotherOct 8, 2008
  4. Jeff KingOct 9, 2008
  5. Junio C HamanoOct 9, 2008
  6. Jeff KingOct 9, 2008
  7. Alex RiesenOct 9, 2008

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.