Merge pull request #1719 from SaitoWu/features/sharedRepository
add shared repository support
This commit is contained in:
commit
d8262573b8
|
@ -151,6 +151,9 @@ module Gitlab
|
|||
repo.add_permission("RW+", "", name_writers) unless name_writers.blank?
|
||||
repo.add_permission("RW+", "", name_masters) unless name_masters.blank?
|
||||
|
||||
# Add sharedRepository config
|
||||
repo.set_git_config("core.sharedRepository", "0660")
|
||||
|
||||
repo
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue