[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Re: Precommit hooks?
From: |
Jonathan Daugherty |
Subject: |
Re: [Gnu-arch-users] Re: Precommit hooks? |
Date: |
Sat, 3 Apr 2004 13:47:21 -0500 |
User-agent: |
Mutt/1.5.5.1+cvs20040105i |
# All hooks are pre- . The "commit" hook is documented.
Their point is that whether it is pre- or post- is what is
undocumented:
"Each time that arch performs a command that modifies an archive, arch
will attempt to run ~/.arch-params/hook, which must be set as
executable."
Also, how is that the hook is run before command is run? My hook
script runs "tla changelog" against the archive whenever I run a
commit, and the results are always correct; I am led to think, then,
that the hook is run after the command.
--
_ ,^. _
,'/ -' '- \`.
/ | \ / | \ Jonathan Daugherty
| | | | | |
| \_,' `._/ | http://www.cprogrammer.org
| |
\ /
`. .'
`--._.--'