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
f8e64aa2
Commit
f8e64aa2
authored
Nov 16, 2016
by
Elan Ruusamäe
Committed by
Sean McGivern
Dec 01, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused create_global_hooks
parent
872c66e9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
spec/gitlab_custom_hook_spec.rb
spec/gitlab_custom_hook_spec.rb
+0
-5
No files found.
spec/gitlab_custom_hook_spec.rb
View file @
f8e64aa2
...
...
@@ -182,11 +182,6 @@ describe GitlabCustomHook do
FileUtils
.
ln_sf
(
which
,
hook_path
(
repo_path
,
path
))
end
def
create_global_hooks
(
path
,
which
)
# should not be tested, as the "global hooks" is gitlab-shell itself (gitlab-shell/hooks/<hook_name>)
raise
"no method, this is gitlab-shell itself"
end
# global hooks multiplexed
def
create_global_hooks_d
(
path
,
which
)
create_hook
(
path
,
'hooks/pre-receive.d/hook'
,
which
)
...
...
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