On Tue, Mar 24, 2009 at 15:30, Manuel Prinz <man...@debian.org> wrote: > Am Dienstag, den 24.03.2009, 14:40 +0100 schrieb Sandro Tosi: >> Additionally, I'm looking for a post-commit hook that can send the >> commit diff via email to a ml + tagpending the bugs in the diff. I'm >> pretty sure someone out there has this script ready yet, so let's >> share :) > > If you have your Git repo on Alioth, everything needed is already > available: > > $ git config --add hooks.mailinglist "{user@,l...@lists.}debian.org" > $ cat >hooks/post-receive <<END > #!/bin/sh > exec /usr/local/bin/git-commit-notice > END > $ chmod 0775 hooks/post-receive
Does it handle the tagpending also? mo...@alioth:~$ grep pending /usr/local/bin/git-commit-notice mo...@alioth:~$ Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org