git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Adam Nielsen <adam.nielsen@uq.edu.au>
Date
Mar 16, 2010, 05:48 UTC
Message-ID
<4B9F1BB5.70902@uq.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)
Message 1 of 1 in “post-receive-email doesn't list commits after a multi-branch push”
  1. Adam NielsenMar 16, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.