[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Re: Patch : precomimt hook
From: |
Ethan Benson |
Subject: |
Re: [Gnu-arch-users] Re: Patch : precomimt hook |
Date: |
Thu, 2 Oct 2003 23:33:14 -0800 |
User-agent: |
Mutt/1.3.28i |
On Thu, Oct 02, 2003 at 04:11:13AM -0500, Mark A. Flacy wrote:
> >>>>> "Ethan" == Ethan Benson <address@hidden> writes:
> Ethan>
> Ethan> I haven't seen Tom comment yet, but i suspect it would be better to
> Ethan> build a generic prehook which works like the current hook system,
> Ethan> rather then a hack specific to commit only.
>
> The OP *did* use the current hook system to add the pre-commit hook.
i mean that he should implement a generic pre-hook. one where command
line args, environment variables etc are provided, and the user
writing the hook would implement a pre-commit by adding a case for
$1 == commit.
the current hook system allows hooks for more then just the commit
command, the proposed patch is a specific hack only for commit.
--
Ethan Benson
http://www.alaska.net/~erbenson/
pgpGqsxaNEEvM.pgp
Description: PGP signature
- [Gnu-arch-users] Patch : precomimt hook, Erik de Castro Lopo, 2003/10/01
- Re: [Gnu-arch-users] Patch : precomimt hook, Robert Collins, 2003/10/02
- [Gnu-arch-users] Re: Patch : precomimt hook, Samuel Tardieu, 2003/10/02
- Re: [Gnu-arch-users] Re: Patch : precomimt hook, Ethan Benson, 2003/10/02
- Re: [Gnu-arch-users] Re: Patch : precomimt hook, Erik de Castro Lopo, 2003/10/02
- Re: [Gnu-arch-users] Re: Patch : precomimt hook, Mark A. Flacy, 2003/10/02
- Re: [Gnu-arch-users] Re: Patch : precomimt hook,
Ethan Benson <=
- Re: [Gnu-arch-users] Re: Patch : precomimt hook, Mark A. Flacy, 2003/10/03
- Re: [Gnu-arch-users] Re: Patch : precomimt hook, Ethan Benson, 2003/10/04
- Re: [Gnu-arch-users] Re: Patch : precomimt hook, Robert Collins, 2003/10/04
- Re: [Gnu-arch-users] Re: Patch : precomimt hook, Ethan Benson, 2003/10/04
- Re: [Gnu-arch-users] Re: Patch : precomimt hook, Robert Collins, 2003/10/04
- Re: [Gnu-arch-users] Re: Patch : precomimt hook, Miles Bader, 2003/10/04
- Re: [Gnu-arch-users] Re: Patch : precomimt hook, Ethan Benson, 2003/10/04
- Re: [Gnu-arch-users] Re: Patch : precomimt hook, Miles Bader, 2003/10/04
- Re: [Gnu-arch-users] Re: Patch : precomimt hook, Ethan Benson, 2003/10/04
- Re: [Gnu-arch-users] Re: Patch : precomimt hook, Mark A. Flacy, 2003/10/04