> -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Mike Frysinger > Sent: den 6 maj 2009 11:43 > To: [email protected] > Subject: Re: no mail after git-push ? > > On Wednesday 06 May 2009 05:24:50 Will Newton wrote: > > On Tue, May 5, 2009 at 6:27 PM, Carmelo AMOROSO wrote: > > > is not possible to receive git=push notificaation by emails as we > > > had for svn commit ? > > > > The post-recieve-email hook in the git contrib directory should do > > what you want. > > Ian configured the repos to use that already, but for some reason it > isnt working. imo, the format sucks hard anyways, so i implemented > my own hook based on format-patch. should be working now ... i'll > run it manually to send out old commits though. > -mike
A step in the right direction, but the mails (judging by the ones I received for busybox) seem to be lacking some vital information, e.g., the sha1 of the commit, what branch it was made on, and preferably a link to the web where the commit can be seen. Also I would very much prefer to have the subject line of the commit message remain in the body since at least the mail reader I use has quite some distance between the mail subject and mail body which means I need to move my eyes up and down to first read the subject, and then read the rest of the body, rather than just read the bodies which I am used to... Please find attached the post-receive script that GStreamer uses. Even if you do not want to use it literally, I hope it may be of some inspiration. It has the mail list and web URL hard coded, but that should be easy enough to change to use git config instead. //Peter
post-receive
Description: post-receive
_______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
