about summary refs log tree commit diff stats
path: root/common/git_template/hooks/post-update.sample
diff options
context:
space:
mode:
Diffstat (limited to 'common/git_template/hooks/post-update.sample')
-rw-r--r--common/git_template/hooks/post-update.sample8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/git_template/hooks/post-update.sample b/common/git_template/hooks/post-update.sample
new file mode 100644
index 0000000..e3b3f9f
--- /dev/null
+++ b/common/git_template/hooks/post-update.sample
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#
+# An example hook script to prepare a packed repository for use over
+# dumb transports.
+#
+# To enable this hook, rename this file to "post-update".
+
+exec git update-server-info