diff options
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 |