gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] Re: Having two precommit hooks


From: Anand Kumria
Subject: [Gnu-arch-users] Re: Having two precommit hooks
Date: Sun, 10 Oct 2004 19:00:08 +1000
User-agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux))

On Sat, 09 Oct 2004 13:24:04 -0700, Thomas Lord wrote:

> 
>     > From: Mikhael Goikhman <address@hidden>
> 
>     > Like others, I thought "precommit" suggests the tree may be modified.
>     > If we are going to have two precommit hooks, then I suggest to use
>     > intuitive names this time, i.e. prepare-commit and confirm-commit hooks.
> 
> A "hook" is the opportunity to invoke a user-specified computation at
> a point during another computation when, otherwise, such invocation
> would be impossible.
> 
> A pre-commit hook that allowed tree modifications would have to be
> run, in effect, before the commit did anything else at all. 

No, I would expect such a hook to run after a 'tla tree-lint'; no point
doing any reformatting work if tla will bitch and moan later on.

Anand





reply via email to

[Prev in Thread] Current Thread [Next in Thread]