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