[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Alioth - Convert SVN repo to Git

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

$ git config --add hooks.mailinglist "{user@,list@lists.}debian.org"
$ cat >hooks/post-receive <<END
exec /usr/local/bin/git-commit-notice
$ chmod 0775 hooks/post-receive

Best regards

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply to: