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

Re: [PATCH 2/2] Heavily expanded update hook to send more useful emails than the old hook

From
Jakub Narebski <jnareb@gmail.com>
Date
Jan 26, 2007, 15:08 UTC
Message-ID
<epd5g5$q3t$1@sea.gmane.org>
In-Reply-To
<7vejpi17e3.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 6 quoted lines
> I've been wondering if we would want to have example-hooks/
> directory (not necessarily under contrib/).  Different people
> seem to want different things from the hooks and I'd like to
> avoid "my version is better than yours" arms race to result in
> unnecessary bloat of example hooks that are copied to every
> repository but yet left disabled.

contrib/hooks, or contrib/examples/hooks would be IMVHO also good place for example hooks. Perhaps on install they should be copied (at least for rpm/deb install) to /usr/share/git-core/examples or /usr/share/git-core/examples/hooks

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Bill Lear
Message 4 of 4 in “Heavily expanded update hook to send more useful emails than the old hook”
  1. 2/2 Heavily expanded update hook to send more useful emails than the old hookAndy Parkins, Jan 26, 2007
  2. Junio C HamanoJan 26, 2007
  3. Bill LearJan 26, 2007
  4. Jakub NarebskiJan 26, 2007

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.