summaryrefslogtreecommitdiffstats
path: root/templates/hooks--post-update.sample
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 09:49:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 09:49:36 +0000
commit5ec6074f0633939fd17d94111d10c6c6b062978c (patch)
treebfaa17b5a64abc66c918e9c70969e519d9e1df8e /templates/hooks--post-update.sample
parentInitial commit. (diff)
downloadgit-upstream.tar.xz
git-upstream.zip
Adding upstream version 1:2.30.2.upstream/1%2.30.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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 0000000..ec17ec1
--- /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