Git commit mail (debian)

With the backported git 1.6 packages installed - to add mailing lists for commits/tags:

cd src/<project>.git/hooks
ln -s /usr/share/doc/git-core/contrib/hooks/post-receive-email post-receive
git config --add hooks.mailinglist "[email protected]"
git config --add hooks.announcelist "[email protected]"
git config --add hooks.envelopesender "[email protected]"

Note that /usr/share/doc/git-core/contrib/hooks/post-receive-email must be executable - chmod a+x if you need to.