aboutsummaryrefslogtreecommitdiff
path: root/gitosis/templates
diff options
context:
space:
mode:
authorTommi Virtanen <tv@eagain.net>2007-09-01 18:27:25 -0700
committerTommi Virtanen <tv@eagain.net>2007-09-01 18:59:13 -0700
commit97c093470e2cd5f968422be938b2086d07e68757 (patch)
tree2c858db70a4753347191adc1f9167f8b5ec35e8b /gitosis/templates
parentAdd gitosis-run-hook, to be run from git hooks. (diff)
downloadgitosis-dakkar-97c093470e2cd5f968422be938b2086d07e68757.tar.gz
gitosis-dakkar-97c093470e2cd5f968422be938b2086d07e68757.tar.bz2
gitosis-dakkar-97c093470e2cd5f968422be938b2086d07e68757.zip
Add gitosis-init, for bootstrapping a new installation.
Diffstat (limited to 'gitosis/templates')
-rw-r--r--gitosis/templates/__init__.py3
-rwxr-xr-xgitosis/templates/admin/hooks/post-update4
2 files changed, 7 insertions, 0 deletions
diff --git a/gitosis/templates/__init__.py b/gitosis/templates/__init__.py
new file mode 100644
index 0000000..b697fb8
--- /dev/null
+++ b/gitosis/templates/__init__.py
@@ -0,0 +1,3 @@
+"""
+Git templates for use by gitosis-init.
+"""
diff --git a/gitosis/templates/admin/hooks/post-update b/gitosis/templates/admin/hooks/post-update
new file mode 100755
index 0000000..704ecb2
--- /dev/null
+++ b/gitosis/templates/admin/hooks/post-update
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -e
+gitosis-run-hook post-update
+git-update-server-info