diff options
author | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2018-01-19 18:08:07 +0100 |
---|---|---|
committer | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2018-01-19 18:08:07 +0100 |
commit | 31268b1b1a26e0042eedcfec8e42579077a145b6 (patch) | |
tree | 6a34242e9da58cb8ca684d9b4964270adc3c765c /lib | |
parent | e1925f6d680722cb630e18b63312d9643357c4a2 (diff) | |
download | gitlab-ce-31268b1b1a26e0042eedcfec8e42579077a145b6.tar.gz |
_never_ unset gitlab.full_pathgitaly-write-repo-config-prep
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/git/repository.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/git/repository.rb b/lib/gitlab/git/repository.rb index 69368898cc1..455c9902a0a 100644 --- a/lib/gitlab/git/repository.rb +++ b/lib/gitlab/git/repository.rb @@ -1317,8 +1317,8 @@ module Gitlab end # rubocop:enable Metrics/ParameterLists - def write_config(full_path: nil) - rugged.config['gitlab.fullpath'] = full_path + def write_config(full_path:) + rugged.config['gitlab.fullpath'] = full_path if full_path.present? end def gitaly_repository |