diff options
author | Tommi Virtanen <tv@eagain.net> | 2007-09-01 18:27:25 -0700 |
---|---|---|
committer | Tommi Virtanen <tv@eagain.net> | 2007-09-01 18:59:13 -0700 |
commit | 97c093470e2cd5f968422be938b2086d07e68757 (patch) | |
tree | 2c858db70a4753347191adc1f9167f8b5ec35e8b /gitosis/templates | |
parent | Add gitosis-run-hook, to be run from git hooks. (diff) | |
download | gitosis-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__.py | 3 | ||||
-rwxr-xr-x | gitosis/templates/admin/hooks/post-update | 4 |
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 |