[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
available:

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

Best regards
Manuel

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


Reply to: