[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Limit size of emails sent using commit-email.pl

From: VK Sameer <sameer_at_collab.net>
Date: 2005-01-12 05:44:47 CET


Minor patch to commit-email.pl.in to truncate large commit emails. I've
added two variables, one for difflines and one for the email body later,
not sure if that's overkill.


Add variables to control email message size based on size of diffs and email
body size

* commit-email.pl.in
  $max_diff_size, $max_email_body_size: New variables
  check_truncate(): New function to truncate an array of strings
  Added calls to check (and possibly truncate) size of @difflines, @body

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Wed Jan 12 05:46:29 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.