[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Having two precommit hooks
From: |
Thomas Lord |
Subject: |
Re: [Gnu-arch-users] Having two precommit hooks |
Date: |
Sat, 9 Oct 2004 13:24:04 -0700 (PDT) |
> 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. But you
can already do that, without a hook, just by modifying the tree before
calling commit.
Why in the world should `tla commit' have a hook that runs before
doing anything else? Should `cat' and `ls' have such hooks too?
-t
- Re: [Gnu-arch-users] missing feature: text file handling, (continued)
- Re: [Gnu-arch-users] missing feature: text file handling, John Meinel, 2004/10/08
- Re: [Gnu-arch-users] missing feature: text file handling, Aaron Bentley, 2004/10/08
- [Gnu-arch-users] Re: missing feature: text file handling, Matthieu Moy, 2004/10/08
- Re: [Gnu-arch-users] Re: missing feature: text file handling, Jan Hudec, 2004/10/08
- Re: [Gnu-arch-users] Re: missing feature: text file handling, John Meinel, 2004/10/08
- 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 <=
- [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, 2004/10/10
- [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