Josef, I've committed a version that has slightly different
semantics from what you originally posted.
The differences are:
- Instead of being post-change hook, the script is run just
before each ref is updated. The script can exit with
non-zero status to tell receive-pack not to update that ref
if it wants to. This means that you should explicitly exit
with zero status if all you want to do in the hook is to send
a mail out.
- The script is called once at the very end with a single
parameter "" (i.e. $refname == ""), to signal that
receive-pack is about to finish. This is a good place to add
any "final cleanup" hook.
The latter change allowed me to remove the mandatory
update_server_info call Linus did not like and make it
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html