diff options
author | Valeriy Sizov <vsv2711@gmail.com> | 2012-10-17 13:27:40 +0400 |
---|---|---|
committer | Valeriy Sizov <vsv2711@gmail.com> | 2012-10-17 13:27:40 +0400 |
commit | d8262573b82ae88abde6447c07b70961950de92c (patch) | |
tree | aa53bac0c95ff0fed1e0de005ad9a4354eafe238 | |
parent | 372220d35b344a43352e2176dfb4c377a53f0930 (diff) | |
parent | 83626d05cd44fcb6ea36711f532768d03d42fc09 (diff) |
Merge pull request #1719 from SaitoWu/features/sharedRepository
add shared repository support
-rw-r--r-- | lib/gitlab/backend/gitolite_config.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gitlab/backend/gitolite_config.rb b/lib/gitlab/backend/gitolite_config.rb index fcf43fa214d..d988164d439 100644 --- a/lib/gitlab/backend/gitolite_config.rb +++ b/lib/gitlab/backend/gitolite_config.rb @@ -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 |