summaryrefslogtreecommitdiff
path: root/src/other_tools/root_maps/content_git_map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/other_tools/root_maps/content_git_map.cpp')
-rw-r--r--src/other_tools/root_maps/content_git_map.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/other_tools/root_maps/content_git_map.cpp b/src/other_tools/root_maps/content_git_map.cpp
index 46326b91..2a6cad56 100644
--- a/src/other_tools/root_maps/content_git_map.cpp
+++ b/src/other_tools/root_maps/content_git_map.cpp
@@ -424,17 +424,10 @@ void ExtractAndImportToGit(
}
// only tree id is needed
std::string archive_tree_id = values[0]->first;
- // open Git CAS
- auto just_git_cas = GitCAS::Open(StorageConfig::GitRoot());
- if (not just_git_cas) {
- (*logger)("Could not open Git cache object database!",
- /*fatal=*/true);
- return;
- }
// write to id file and process subdir tree
WriteIdFileAndSetWSRoot(key,
archive_tree_id,
- just_git_cas,
+ values[0]->second, /*just_git_cas*/
archive_tree_id_file,
is_absent,
serve_api_exists,