Merge pull request #1719 from SaitoWu/features/sharedRepository

add shared repository support
This commit is contained in:
Valeriy Sizov 2012-10-17 02:27:40 -07:00
commit d8262573b8

View file

@ -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