Commit 3ae29a85 authored by Nick Thomas's avatar Nick Thomas

Use a brand-new Repository when performing Geo sync to a temporary directory

parent 4cb37a20
......@@ -178,7 +178,7 @@ module Geo
log_info("Created temporary repository")
repository.clone.tap { |repo| repo.disk_path = disk_path_temp }
::Repository.new(repository.full_path, repository.project, disk_path: disk_path_temp, is_wiki: repository.is_wiki)
end
def clean_up_temporary_repository
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment