aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/templates/pre-receive
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-02-02 19:38:55 +0000
committerMichael Scherer <misc@mageia.org>2011-02-02 19:38:55 +0000
commit35bb51eec4c196252c6b12c9e9be34e89a7b1768 (patch)
tree61d3f3c16d63a5e6200b6a85468eefb8f6048492 /modules/git/templates/pre-receive
parent3adb81adc4822d0ce4c604814c2f447e2a8d3192 (diff)
downloadpuppet-35bb51eec4c196252c6b12c9e9be34e89a7b1768.tar
puppet-35bb51eec4c196252c6b12c9e9be34e89a7b1768.tar.gz
puppet-35bb51eec4c196252c6b12c9e9be34e89a7b1768.tar.bz2
puppet-35bb51eec4c196252c6b12c9e9be34e89a7b1768.tar.xz
puppet-35bb51eec4c196252c6b12c9e9be34e89a7b1768.zip
place the pre-receive hook in a file, easier to edit
Diffstat (limited to 'modules/git/templates/pre-receive')
-rw-r--r--modules/git/templates/pre-receive5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/git/templates/pre-receive b/modules/git/templates/pre-receive
new file mode 100644
index 00000000..7eec7505
--- /dev/null
+++ b/modules/git/templates/pre-receive
@@ -0,0 +1,5 @@
+#!/bin/bash
+echo
+echo "This repository is readonly"
+echo
+false