Thread (1 message) 1 message, 1 author, 2016-06-15
  • (off-list ancestor, not in this archive)
  • Re: commit triggers. · Junio C Hamano <hidden> · 2016-06-15

Re: commit triggers.

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:30

Dave Jones [off-list ref] writes:
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help