summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhooks/post-receive6
-rwxr-xr-xhooks/pre-receive6
-rwxr-xr-xhooks/update6
3 files changed, 15 insertions, 3 deletions
diff --git a/hooks/post-receive b/hooks/post-receive
index 73740da..b400611 100755
--- a/hooks/post-receive
+++ b/hooks/post-receive
@@ -1,4 +1,8 @@
#!/bin/sh
-echo "The gitlab-shell hooks have been migrated to Gitaly, see https://gitlab.com/gitlab-org/gitaly/issues/1226"
+echo "This gitlab-shell hook has been migrated to Gitaly. See https://gitlab.com/gitlab-org/gitaly/issues/1226."
+echo
+echo "Note that global server hooks still reside in a subdirectory here by default."
+echo "For example, pre-receive.d/ holds custom pre-receive hooks."
+echo "See https://docs.gitlab.com/ee/administration/server_hooks.html#create-a-global-server-hook-for-all-repositories for more information."
exit 1
diff --git a/hooks/pre-receive b/hooks/pre-receive
index 73740da..b400611 100755
--- a/hooks/pre-receive
+++ b/hooks/pre-receive
@@ -1,4 +1,8 @@
#!/bin/sh
-echo "The gitlab-shell hooks have been migrated to Gitaly, see https://gitlab.com/gitlab-org/gitaly/issues/1226"
+echo "This gitlab-shell hook has been migrated to Gitaly. See https://gitlab.com/gitlab-org/gitaly/issues/1226."
+echo
+echo "Note that global server hooks still reside in a subdirectory here by default."
+echo "For example, pre-receive.d/ holds custom pre-receive hooks."
+echo "See https://docs.gitlab.com/ee/administration/server_hooks.html#create-a-global-server-hook-for-all-repositories for more information."
exit 1
diff --git a/hooks/update b/hooks/update
index 73740da..b400611 100755
--- a/hooks/update
+++ b/hooks/update
@@ -1,4 +1,8 @@
#!/bin/sh
-echo "The gitlab-shell hooks have been migrated to Gitaly, see https://gitlab.com/gitlab-org/gitaly/issues/1226"
+echo "This gitlab-shell hook has been migrated to Gitaly. See https://gitlab.com/gitlab-org/gitaly/issues/1226."
+echo
+echo "Note that global server hooks still reside in a subdirectory here by default."
+echo "For example, pre-receive.d/ holds custom pre-receive hooks."
+echo "See https://docs.gitlab.com/ee/administration/server_hooks.html#create-a-global-server-hook-for-all-repositories for more information."
exit 1