diff options
author | Toon Claes <toon@gitlab.com> | 2018-11-22 15:44:37 +0100 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2018-11-27 22:48:55 +0100 |
commit | 4711100164a3afc02c9a849ca1e88de4ab4ad956 (patch) | |
tree | 9d60f44ab6e5a5a325f25c85d658e18a2c327293 /lib | |
parent | 4908e4b3a213fbdea0a45b3cc30774981529b483 (diff) | |
download | gitlab-ce-4711100164a3afc02c9a849ca1e88de4ab4ad956.tar.gz |
Always run CleanUp before writing the git config
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/background_migration/backfill_project_fullpath_in_repo_config.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/background_migration/backfill_project_fullpath_in_repo_config.rb b/lib/gitlab/background_migration/backfill_project_fullpath_in_repo_config.rb index 36eff3078aa..bbe75607351 100644 --- a/lib/gitlab/background_migration/backfill_project_fullpath_in_repo_config.rb +++ b/lib/gitlab/background_migration/backfill_project_fullpath_in_repo_config.rb @@ -144,7 +144,6 @@ module Gitlab return unless project - project.cleanup_repository migration_class.new.safe_perform_one(project, retry_count) end end @@ -178,6 +177,7 @@ module Gitlab end def perform_one(project) + project.cleanup_repository project.add_fullpath_config end end @@ -192,6 +192,7 @@ module Gitlab end def perform_one(project) + project.cleanup_repository project.remove_fullpath_config end end |