Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-shell
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
0
Merge Requests
0
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-shell
Commits
d7e99e3e
Commit
d7e99e3e
authored
Aug 09, 2018
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing require statement in create-hooks
Closes
https://gitlab.com/gitlab-org/gitlab-ce/issues/50160
parent
2fb6ea3e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
bin/create-hooks
bin/create-hooks
+1
-0
No files found.
bin/create-hooks
View file @
d7e99e3e
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
require_relative
'../lib/gitlab_init'
require_relative
'../lib/gitlab_init'
require
File
.
join
(
ROOT_PATH
,
'lib'
,
'gitlab_metrics'
)
require
File
.
join
(
ROOT_PATH
,
'lib'
,
'gitlab_metrics'
)
require
'fileutils'
def
create_hooks
(
path
)
def
create_hooks
(
path
)
global_hooks_directory
=
File
.
join
(
ROOT_PATH
,
'hooks'
)
global_hooks_directory
=
File
.
join
(
ROOT_PATH
,
'hooks'
)
...
...
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