diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-10-12 15:37:14 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-10-12 15:37:14 +0000 |
commit | 05f46b820ee607715a9c23beabd98553d64556e0 (patch) | |
tree | 8b7be78ac1e00210b2b8096d23c525ecf6a1cf1a /lib | |
parent | af3c98bb93ede723f305477122bfdce927066307 (diff) | |
parent | a24abf39bf78226baaad03fe45caf416dbfc9b74 (diff) | |
download | gitlab-ce-05f46b820ee607715a9c23beabd98553d64556e0.tar.gz |
Merge branch 'fix/rugged-alternate-paths' into 'master'
Fix the format of rugged alternate directory list
Closes #39046
See merge request gitlab-org/gitlab-ce!14840
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/git/repository.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/git/repository.rb b/lib/gitlab/git/repository.rb index 5b9c42ef586..a6b2d189f18 100644 --- a/lib/gitlab/git/repository.rb +++ b/lib/gitlab/git/repository.rb @@ -1236,6 +1236,7 @@ module Gitlab relative_paths.map { |d| File.join(path, d) } else Gitlab::Git::Env.all.values_at(*ALLOWED_OBJECT_DIRECTORIES_VARIABLES) + .flatten .compact .flat_map { |d| d.split(File::PATH_SEPARATOR) } end |