Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4da12aee
Commit
4da12aee
authored
Jan 31, 2020
by
Drew Blessing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update server hooks documentation to current behavior
parent
29dc9d75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
doc/administration/server_hooks.md
doc/administration/server_hooks.md
+2
-3
No files found.
doc/administration/server_hooks.md
View file @
4da12aee
...
...
@@ -88,11 +88,10 @@ pattern (`*~`).
The hooks are searched and executed in this order:
1.
`gitlab-shell/hooks`
directory as known to Gitaly.
1.
`<project>.git/hooks/<hook_name>`
- executed by
`git`
itself, this is symlinked to
`gitlab-shell/hooks/<hook_name>`
.
1.
Built-in GitLab server hooks (not user-customizable).
1.
`<project>.git/custom_hooks/<hook_name>`
- per-project hook (this was kept as the already existing behavior).
1.
`<project>.git/custom_hooks/<hook_name>.d/*`
- per-project hooks.
1.
`<
project>.git/hooks/<hook_name>.d/*`
OR
`<custom_hooks_dir>/<hook_name.d>
/*`
- global hooks: all executable files (except editor backup files).
1.
`<
custom_hooks_dir>/<hook_name>.d
/*`
- global hooks: all executable files (except editor backup files).
The hooks of the same type are executed in order and execution stops on the
first script exiting with a non-zero value.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment