[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Re: Having two precommit hooks
From: |
Thomas Lord |
Subject: |
Re: [Gnu-arch-users] Re: Having two precommit hooks |
Date: |
Sun, 10 Oct 2004 15:46:00 -0700 (PDT) |
> From: Anand Kumria <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.
I can't imagine not wanting to re-run tree-lint after a tree-modifying
hook ran. What's wrong with (in essense):
#!/bin/sh
tla tree-lint
run-hook
tla commit
?
-t
- Re: [Gnu-arch-users] Re: missing feature: text file handling, (continued)
- Re: [Gnu-arch-users] Re: missing feature: text file handling, Jan Hudec, 2004/10/08
- Re: [Gnu-arch-users] missing feature: text file handling, John Meinel, 2004/10/08
- Re: [Gnu-arch-users] missing feature: text file handling, Robert Collins, 2004/10/09
- Re: [Gnu-arch-users] missing feature: text file handling, Erik de Castro Lopo, 2004/10/09
- [Gnu-arch-users] Having two precommit hooks, Mikhael Goikhman, 2004/10/09
- Re: [Gnu-arch-users] Having two precommit hooks, Thomas Lord, 2004/10/09
- [Gnu-arch-users] Re: Having two precommit hooks, Anand Kumria, 2004/10/10
- [Gnu-arch-users] Re: Having two precommit hooks, Sean Case, 2004/10/10
- [Gnu-arch-users] Re: Having two precommit hooks, Anand Kumria, 2004/10/10
- Re: [Gnu-arch-users] Re: Having two precommit hooks, Stig Brautaset, 2004/10/10
- Re: [Gnu-arch-users] Re: Having two precommit hooks,
Thomas Lord <=
- [Gnu-arch-users] Re: Having two precommit hooks, Matthieu Moy, 2004/10/11
- Re: [Gnu-arch-users] Re: Having two precommit hooks, Harald Meland, 2004/10/11
- [Gnu-arch-users] Re: Having two precommit hooks, Matthieu Moy, 2004/10/11
- Re: [Gnu-arch-users] Re: Having two precommit hooks, Robert Collins, 2004/10/12
- Re: [Gnu-arch-users] Re: Having two precommit hooks, Thomas Lord, 2004/10/11
- Re: [Gnu-arch-users] Re: Having two precommit hooks, Harald Meland, 2004/10/11
- Re: [Gnu-arch-users] Re: Having two precommit hooks, Thomas Lord, 2004/10/12
- Re: [Gnu-arch-users] Re: Having two precommit hooks, Thomas Lord, 2004/10/11
- Re: [Gnu-arch-users] Re: Having two precommit hooks, James Blackwell, 2004/10/12
- [Gnu-arch-users] Re: Re: Having two precommit hooks, Anand Kumria, 2004/10/11