Re: Git and Scmbug integration
- From
David Symonds <dsymonds@gmail.com>
- Date
- Nov 14, 2007, 00:08 UTC
- Message-ID
- <ee77f5c20711131608n6c0b4df4o7eb8a3839a95cdde@mail.gmail.com>
- In-Reply-To
- <20071114000457.GM3268@steel.home>
On Nov 14, 2007 11:04 AM, Alex Riesen <raa.lkml@gmail.com> wrote:
Show 15 quoted lines
> David Symonds, Wed, Nov 14, 2007 00:53:43 +0100: > > On Nov 14, 2007 10:47 AM, Alex Riesen <raa.lkml@gmail.com> 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.