This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
LICENSE.txt | ||
| |
README.markdown | ||
| |
multihook.py |
README.markdown
multihook
multihook allows multiplexing of Git hooks.
It is useful if you want to run multiple hooks on a single event. For example, you might use multihook on post-receive to send notifications by e-mail and by XMPP multi-user chat.
License
This code is copyright (c) 2008 by Jack Moffitt jack@metajack.im and
is available under the GPLv3.
See LICENSE.txt for details.
Usage
To use multihook, just copy multihook.py to your
repository's .git/hooks dir and call it post-receive. Be sure to
set it executable with chmod 755 post-receive as well.
You'll need to edit the very top of the file where HOOKS is
defined. Each item of this array is a script to run. Each item is an
array of strings; the first string is the script, and the other
strings are its arguments.








