Commit d8262573b82ae88abde6447c07b70961950de92c
Exists in
master
and in
4 other branches
Merge pull request #1719 from SaitoWu/features/sharedRepository
add shared repository support
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
lib/gitlab/backend/gitolite_config.rb
... | ... | @@ -151,6 +151,9 @@ module Gitlab |
151 | 151 | repo.add_permission("RW+", "", name_writers) unless name_writers.blank? |
152 | 152 | repo.add_permission("RW+", "", name_masters) unless name_masters.blank? |
153 | 153 | |
154 | + # Add sharedRepository config | |
155 | + repo.set_git_config("core.sharedRepository", "0660") | |
156 | + | |
154 | 157 | repo |
155 | 158 | end |
156 | 159 | ... | ... |