diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2010-07-16 14:16:23 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-07-16 15:34:12 -0700 |
commit | b03e7b7d76e79de14e76df5d4e2ee727f4522a95 (patch) | |
tree | 10abc5caa4be2ac5ecb44c6d3c7b0ed2d20f2c5b /Documentation/git.txt | |
parent | Merge branch 'jn/paginate-fix' (diff) | |
download | tgif-b03e7b7d76e79de14e76df5d4e2ee727f4522a95.tar.xz |
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>
Diffstat (limited to 'Documentation/git.txt')
0 files changed, 0 insertions, 0 deletions