diff options
Diffstat (limited to 'vendor/gix/src/assets/init/hooks/post-update.sample')
-rwxr-xr-x | vendor/gix/src/assets/init/hooks/post-update.sample | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/gix/src/assets/init/hooks/post-update.sample b/vendor/gix/src/assets/init/hooks/post-update.sample new file mode 100755 index 000000000..506a06511 --- /dev/null +++ b/vendor/gix/src/assets/init/hooks/post-update.sample @@ -0,0 +1,12 @@ +#!/bin/sh +# A sample hook that runs after receiving a pack on a remote +############################################################ +# This hook is called after a pack was received on the remote, i.e. after a successful `git push` operation. +# It's useful on the server side only. +# +# There many more receive hooks which are documented in the official documentation: https://git-scm.com/docs/githooks. +# +# To enable this hook remove the `.sample` suffix from this file entirely. + +# Update static files to support the 'dumb' git HTTP protocol. +exec git update-server-info |