about summary refs log tree commit diff
path: root/templates/hooks--post-update.sample
diff options
context:
space:
mode:
Diffstat (limited to 'templates/hooks--post-update.sample')
-rwxr-xr-xtemplates/hooks--post-update.sample8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/hooks--post-update.sample b/templates/hooks--post-update.sample
new file mode 100755
index 000000000000..ec17ec1939b7
--- /dev/null
+++ b/templates/hooks--post-update.sample
@@ -0,0 +1,8 @@
+#!/bin/sh
+#
+# 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