Lars Müller <lm@openslx.com>


Patch
r863045, r862663

r863045 | cmpilato | 2007-01-11 10:20:57 -0600 (Thu, 11 Jan 2007)

Add a new --stdout command-line option to commit-email.pl which
overrides the configured mail delivery methods and causes the script
to generate mbox-formatted mailstuffs to stdout.  This is a followup
to r22589.

Patch by: Lars Müller <lm{_AT_}openslx.com>
(Tweaked by me.)

* tools/hook-scripts/commit-email.pl.in
  (): Add processing for a new --stdout command-line option.
  (opt_to_hash_key): Add --stdout item.
  (usage): Note new option.
  (new_project): Populate 'stdout' member.


r862663 | cmpilato | 2006-12-06 09:35:39 -0600 (Wed, 06 Dec 2006)

Teach commit-email.pl to generate emails on stdout in mbox format.

Patch by: Lars Müller <lm@openslx.com>

* tools/hook-scripts/commit-email.pl.in
  (stdout): New.
  If in stdout mode, generate an mbox-complaint 'From' line, and spew
  mail contents to stdout.