On Nov 14, 2007 11:04 AM, Alex Riesen <raa.lkml@xxxxxxxxx> wrote: > David Symonds, Wed, Nov 14, 2007 00:53:43 +0100: > > On Nov 14, 2007 10:47 AM, Alex Riesen <raa.lkml@xxxxxxxxx> wrote: > > > > http://bugzilla.mkgnu.net/show_bug.cgi?id=992 > > > > > > > > Git does not offer metadata describing a change on the commit trigger > > > > > > > > The commit trigger seems to be "post-commit" but it supplies no arguments. > > > > > > HEAD? > > > > That wouldn't be particularly safe if you have a very quick succession > > of commits (say, via a rebase, or automated operations) because HEAD > > could be moved by the time the post-commit hook reads it. > > How's that? git-commit waits for its hooks. Okay, so if it triggers an asynchronous process it just needs to be careful enough to pass whatever HEAD resolves to at the time. Cool. Dave. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html