_never_ unset gitlab.full_path

This commit is contained in:
Kim "BKC" Carlbäcker 2018-01-19 18:08:07 +01:00
parent e1925f6d68
commit 31268b1b1a
1 changed files with 2 additions and 2 deletions

View File

@ -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