Handle post-receive files via gitolite, not gitlab
This commit is contained in:
parent
2e7ca8c866
commit
c625293b99
7 changed files with 29 additions and 46 deletions
|
@ -67,12 +67,6 @@ namespace :gitlab do
|
|||
next
|
||||
end
|
||||
|
||||
|
||||
unless File.owned?(hook_file)
|
||||
puts "post-receive file is not owner by gitlab".red
|
||||
next
|
||||
end
|
||||
|
||||
puts "post-reveice file ok".green
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue