git/contrib/hooks
Kevin P. Fleming b03e7b7d76 post-receive-email: optional message line count limit
We have become used to the features of svnmailer when used with Subversion,
and one of those useful features is that it can limit the maximum length
(in lines) of a commit email message. This is terribly useful since once the
goes beyond a reasonable number of lines, nobody is going to read the remainder,
and if they really want the entire contents of the commits, they can use
git itself to get them using the revision IDs present in the message already.

Change the post-receive-email script to respond to an 'emailmaxlines' config key
which, if specified, will limit the number of lines generated (including
headers); any lines beyond the limit are suppressed, and a final line is added
indicating the number that were suppressed.

Signed-off-by: Kevin P. Fleming <kpfleming@digium.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-07-16 15:34:12 -07:00
..
post-receive-email post-receive-email: optional message line count limit 2010-07-16 15:34:12 -07:00
pre-auto-gc-battery Add Linux PPC support to the pre-auto-gc example hook 2008-10-14 16:50:09 -07:00
setgitperms.perl Use dashless git commands in setgitperms.perl 2008-09-22 09:36:12 -07:00
update-paranoid Ignore no-op changes in paranoid update hook 2008-05-25 20:29:30 -07:00