diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-19 14:17:40 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-19 14:17:40 +0000 |
commit | d3c3fbc6163ca13b16351214349bd5a7f5b729a3 (patch) | |
tree | b49730431721b6f2238b59573bed5113f8181fa1 /lib/gitlab_projects.rb | |
parent | f13afa2db3f3b44a9a6f97b88eced3f324f80b51 (diff) | |
parent | 2537a0b24cac9206f282a071ba5e930aabfc3135 (diff) | |
download | gitlab-shell-d3c3fbc6163ca13b16351214349bd5a7f5b729a3.tar.gz |
Merge branch 'remove_empty_post_receive' of /home/git/repositories/gitlab/gitlab-shell
Diffstat (limited to 'lib/gitlab_projects.rb')
-rw-r--r-- | lib/gitlab_projects.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/gitlab_projects.rb b/lib/gitlab_projects.rb index c933296..242384b 100644 --- a/lib/gitlab_projects.rb +++ b/lib/gitlab_projects.rb @@ -182,9 +182,6 @@ class GitlabProjects private def create_hooks_to(dest_path) - pr_hook_path = File.join(ROOT_PATH, 'hooks', 'post-receive') - up_hook_path = File.join(ROOT_PATH, 'hooks', 'update') - - "ln -s #{pr_hook_path} #{dest_path}/hooks/post-receive && ln -s #{up_hook_path} #{dest_path}/hooks/update" + "ln -s #{File.join(ROOT_PATH, 'hooks', 'update')} #{dest_path}/hooks/update" end end |