# post-receive-email doesn't list commits after a multi-branch push

1 messages from 2010-03-16 to 2010-03-16. Participants: Adam Nielsen.
Thread: https://gitlist.dev/t/23036

## Adam Nielsen, 2010-03-16 05:48

Subject: post-receive-email doesn't list commits after a multi-branch push
Message-ID: <4B9F1BB5.70902@uq.edu.au>
URL: https://gitlist.dev/e/4B9F1BB5.70902%40uq.edu.au

```
Hi all,

I have set up a few git repositories that use the post-receive-email 
script to send an e-mail with the commit logs.

This all works fine if only one branch at a time is updated, but if 
someone does a 'git push' with multiple branches having been updated (in 
my case I commit to one branch and then merge it with another), I get 
one e-mail per changed branch with no commit messages in any of them.

Has anyone else experienced this problem?  Is it a bug in 
post-receive-email or a limitation of the git hook system?

Thanks,
Adam.

(Please CC)

```
