aboutsummaryrefslogtreecommitdiffstats
path: root/modules/subversion/templates/hook_sendmail.pl
diff options
context:
space:
mode:
Diffstat (limited to 'modules/subversion/templates/hook_sendmail.pl')
-rw-r--r--modules/subversion/templates/hook_sendmail.pl13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/subversion/templates/hook_sendmail.pl b/modules/subversion/templates/hook_sendmail.pl
new file mode 100644
index 00000000..2444510b
--- /dev/null
+++ b/modules/subversion/templates/hook_sendmail.pl
@@ -0,0 +1,13 @@
+#!/usr/bin/perl -MSVN::Notify::Config=$0
+--- #YAML:1.0
+
+'':
+ PATH: "/usr/bin:/usr/local/bin"
+ handler: Alternative
+ alternative: HTML::ColorDiff
+ with-diff: 1
+ to:
+<% commit_mail.each do |mail| %>
+ - <%= mail %>
+<% end %>
+ from: root@<%= domain %>