Skip to contentSkip to conversation

post-receive-email: about diff

DISCUSSION Denis Shaposhnikov 3 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hello,

Does somebody has modifications for contrib/hooks/post-receive-email to send a diff together with a log message in a email?

Thanks!

Signature · 2 lines
DSS5-RIPE DSS-RIPN mailto:[email protected] xmpp:[email protected]
http://wizard.volgograd.ru/ 2:550/5068@fidonet 2:550/5069@fidonet
#2 lore raw
Quoted 2 lines · Denis Shaposhnikov

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

Signature · 3 lines
Bruno Ribas - [email protected]
http://web.inf.ufpr.br/ribas
C3SL: http://www.c3sl.ufpr.br