aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/templates
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-02-10 02:24:22 +0000
committerMichael Scherer <misc@mageia.org>2011-02-10 02:24:22 +0000
commit10de978ddf0d5b538a32cf579e0115bc21aadcd3 (patch)
treedfdda3861af31a58d5a5d20c4cc3b576fddc5026 /modules/git/templates
parent02c2a0e659a14172ff8b6a168cb99f2055e991fe (diff)
downloadpuppet-10de978ddf0d5b538a32cf579e0115bc21aadcd3.tar
puppet-10de978ddf0d5b538a32cf579e0115bc21aadcd3.tar.gz
puppet-10de978ddf0d5b538a32cf579e0115bc21aadcd3.tar.bz2
puppet-10de978ddf0d5b538a32cf579e0115bc21aadcd3.tar.xz
puppet-10de978ddf0d5b538a32cf579e0115bc21aadcd3.zip
add a post commit script to send mail
Diffstat (limited to 'modules/git/templates')
-rw-r--r--modules/git/templates/post-receive6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/git/templates/post-receive b/modules/git/templates/post-receive
new file mode 100644
index 00000000..b4330e13
--- /dev/null
+++ b/modules/git/templates/post-receive
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# FIXME the contrib/hooks should be in /usr/share/git-core
+# but this may cause issue with automated requirement
+. /usr/share/doc/git-core/contrib/hooks/post-receive-email
+