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

Re: commit triggers.

From
Junio C Hamano <junkio@cox.net>
Date
Jun 24, 2006, 06:43 UTC
Message-ID
<7vmzc32gw8.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20060624032908.GH19461@redhat.com>
Dave Jones <davej@redhat.com> writes:
Show 5 quoted lines
> I've grepped around, and come up with nothing, so hopefully
> I'm not overlooking some already-implemented feature
> (though it'd be great if I am).  How much work is involved in
> creating a mechanism where some scripts living in say .git/triggers/
> get executed on commits ?
Perhaps "grep hooks/ git-commit.sh"?

The hooks we have right now are more interested in preventing you from making crappy commits, so we might not have a post-commit hook you can use for notification purposes, but if that is the case I am open to suggestions to add one. I think post-commit hook is already there, though.

Previous: Dave Jones
Message 2 of 2 in “commit triggers.”
  1. Dave JonesJun 24, 2006
  2. Junio C HamanoJun 24, 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.