Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJames Fargher <proglottis@gmail.com>2022-02-22 03:12:17 +0300
committerJames Fargher <proglottis@gmail.com>2022-02-22 03:12:17 +0300
commitc1cabced28d02d667a37122860adde10068d28e2 (patch)
treeca1f204777b5d532c335e7d92139106e27b7f1c6 /doc
parentad76c4bd99833148140d5c08b7258363e5163b9c (diff)
parent4d2b09ee71645d2c7554ad617305bca1aaef1bd9 (diff)
Merge branch 'pks-git-remove-ruby-hooks' into 'master'
git: Remove support for the Ruby hooks directory Closes #4006 See merge request gitlab-org/gitaly!4356
Diffstat (limited to 'doc')
-rw-r--r--doc/hooks.md5
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/hooks.md b/doc/hooks.md
index 9dc8701f7..e1afd7bdf 100644
--- a/doc/hooks.md
+++ b/doc/hooks.md
@@ -16,8 +16,6 @@ We inject some information into Git commands to set up the hook execution
environment for both Git and ourselves so that the `gitaly-hooks` executable is
able to derive required information:
-- We inject `GITALY_BIN_DIR`, which points to Gitaly's binary directory. This is
- used to locate the `gitaly-hooks` binary.
- We inject the `core.hooksPath` config entry, which points to the directory
containing our global hooks. Global hooks are set up as a temporary directory
containing symlinks to a wrapper script which is able to locato the
@@ -39,8 +37,7 @@ information to connect to Gitaly and execute the respective RPC call. The
execution path is:
1. Git locates the hook using `core.hooksPath`. If found, this is a symlink
- pointing to the wrapper script which is able to locate `gitaly-hooks`.
-1. The wrapper script executes `gitaly-hooks`.
+ which points to the `gitaly-hooks` executable.
1. `gitaly-hooks` connects to Gitaly and executes the corresponding RPC call in
Gitaly, passing along any hook-specific information to the RPC.
1. Gitaly performs the hook-specific logic in the RPC handler.