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

Re: post-receive-email: about diff

From
BRBruno Cesar Ribas <ribas@c3sl.ufpr.br>
Date
Feb 23, 2008, 02:37 UTC
Message-ID
<20080223023749.GA5107@c3sl.ufpr.br>
In-Reply-To
<20080223004308.GX31441@genesis.frugalware.org>
On Fri, Feb 22, 2008 at 07:14:02PM +0300, Denis Shaposhnikov <dsh@wizard.volgograd.ru> wrote:
> Does somebody has modifications for contrib/hooks/post-receive-email to
> send a diff together with a log message in a email?

Indeed I have =) Check here[1] if might help you

This is the modified version I am using to send logs. It does not send diff like patchs, all commits in one mail. And modified it to use last committer Name and email as From: , as I use ssh_acl[2] to control repository acl instead of managing users and groups

Hope helped a little bit,
Ribas

[1]www.inf.ufpr.br/ribas/misc/post-receive-email [2]http://www.inf.ufpr.br/ribas/ssh_acl.html

-- 
Bruno Ribas - ribas@c3sl.ufpr.br
http://web.inf.ufpr.br/ribas
C3SL: http://www.c3sl.ufpr.br 
Previous: Miklos Vajna
Message 3 of 3 in “post-receive-email: about diff”
  1. Denis ShaposhnikovFeb 22, 2008
  2. Miklos VajnaFeb 23, 2008
  3. Bruno Cesar RibasFeb 23, 2008

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.