Offline: Re: git commit mail script

Jannis Pohlmann jannis at
Mon Jun 22 15:42:13 CEST 2009

On Mon, 22 Jun 2009 15:10:31 +0200
Nick Schermer <nickschermer at> wrote:

> Maybe you've already looked at this:
> Looks like they loop for each revision in post-receive

They loop over oldrev/newrev pairs but if you push a lot of commits at
once, you'll only get one such oldrev/newrev pair in post-receive,
unless you push to different refs in which case you'll get one
oldrev/newrev pair for each ref you push to ... I guess. The script
only sends one mail per push, the subject looks like this

  [SCM] foo branch, 1.0, updated. 1.12-10-gd463edd


  [SCM] foo annotated tag, 1.13, created. 1.13

and the mails don't contain any diffs (ok, that's easy to fix but then
we'd end up with tons of commit diffs per mail).

So, when the comment in the script says "the rule is that (for branch
updates) each commit will appear on one email and one email only" it
actually doesn't mean there will be individual mails per commit.

  - Jannis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <>

More information about the Xfce4-dev mailing list