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, 11:32 UTC
Message-ID
<20081009113228.GA17523@sigill.intra.peff.net>
In-Reply-To
<7viqs2ovte.fsf@gitster.siamese.dyndns.org>
On Thu, Oct 09, 2008 at 04:24:29AM -0700, Junio C Hamano wrote:
Show 5 quoted lines
> > 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?
> 
> AFAIR, "git init" copies symlinks in templates as symlinks, so I do not
> see why you would even want to have such an option.

Ah, I didn't realize that. In that case, yes, setting up a template directory of symlinks makes the most sense. I think a core.template option is still worthwhile, though.

-Peff
Previous: Junio C HamanoNext: Alex Riesen
Message 6 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.