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
583f5bb4
Commit
583f5bb4
authored
Jun 12, 2018
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a NoMethodError in the pre-receive hook
parent
c585ee5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
hooks/pre-receive
hooks/pre-receive
+1
-1
No files found.
hooks/pre-receive
View file @
583f5bb4
...
...
@@ -12,7 +12,7 @@ gl_repository = ENV['GL_REPOSITORY']
def
increase_reference_counter
(
gl_repository
,
repo_path
)
result
=
GitlabNet
.
new
.
pre_receive
(
gl_repository
)
result
[
'reference_counter_increased'
]
result
&&
result
[
'reference_counter_increased'
]
end
require_relative
'../lib/gitlab_custom_hook'
...
...
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