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

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

From
Jonathan del Strother <jon.delstrother@bestbefore.tv>
Date
Oct 8, 2008, 08:16 UTC
Message-ID
<57518fd10810080116gd876f9bv169f575087baccd7@mail.gmail.com>
In-Reply-To
<20081008015352.GA29313@coredump.intra.peff.net>
On Wed, Oct 8, 2008 at 2:53 AM, Jeff King <peff@peff.net> wrote:
Show 8 quoted lines
> On Wed, Oct 08, 2008 at 12:10:33AM +0100, Jonathan del Strother wrote:
>
>> I have a number of hooks that I have to install every time I
>> create/clone a repository.  This patch adds a post-init hook that's
>> perfect for setting up that sort of stuff.
>
> Why is the --template parameter to clone and init not sufficient?
>
 Partly that I never remember to include the --template parameter,
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)
Previous: Jeff KingNext: Jeff King
Message 3 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.