diff options
author | Saito <saitowu@gmail.com> | 2012-10-17 11:43:44 +0400 |
---|---|---|
committer | Saito <saitowu@gmail.com> | 2012-10-17 11:43:44 +0400 |
commit | 83626d05cd44fcb6ea36711f532768d03d42fc09 (patch) | |
tree | e20209cf4fb419f4f1b2ba5f01fdbbc9912a2671 | |
parent | c01b0fd5d4fb8110be2539b165b2e028540ad6f6 (diff) |
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 |