Commit d8262573 authored by Valeriy Sizov's avatar Valeriy Sizov

Merge pull request #1719 from SaitoWu/features/sharedRepository

add shared repository support
parents 372220d3 83626d05
...@@ -151,6 +151,9 @@ module Gitlab ...@@ -151,6 +151,9 @@ module Gitlab
repo.add_permission("RW+", "", name_writers) unless name_writers.blank? repo.add_permission("RW+", "", name_writers) unless name_writers.blank?
repo.add_permission("RW+", "", name_masters) unless name_masters.blank? repo.add_permission("RW+", "", name_masters) unless name_masters.blank?
# Add sharedRepository config
repo.set_git_config("core.sharedRepository", "0660")
repo repo
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment