summaryrefslogtreecommitdiff
path: root/src/other_tools/root_maps/content_git_map.cpp
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2023-06-20 11:44:56 +0200
committerOliver Reiche <oliver.reiche@huawei.com>2023-06-20 14:18:23 +0200
commitd1cc993ff46b187e1f7669291f611d80b05b3bb3 (patch)
treebf208b0e81c88367e784921f3f6d9afff06ea0b9 /src/other_tools/root_maps/content_git_map.cpp
parentf7c6537a47c1b36c2db2b5672813c7a6c3f897d7 (diff)
downloadjustbuild-d1cc993ff46b187e1f7669291f611d80b05b3bb3.tar.gz
just-mr: Auto detect archive compression
Diffstat (limited to 'src/other_tools/root_maps/content_git_map.cpp')
-rw-r--r--src/other_tools/root_maps/content_git_map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/other_tools/root_maps/content_git_map.cpp b/src/other_tools/root_maps/content_git_map.cpp
index aeea9e1e..b652a5e1 100644
--- a/src/other_tools/root_maps/content_git_map.cpp
+++ b/src/other_tools/root_maps/content_git_map.cpp
@@ -32,7 +32,7 @@ namespace {
-> std::optional<std::string> {
if (repo_type == "archive") {
return ArchiveOps::ExtractArchive(
- ArchiveType::kArchiveTypeTarGz, archive, dst_dir);
+ ArchiveType::kArchiveTypeTar, archive, dst_dir);
}
if (repo_type == "zip") {
return ArchiveOps::ExtractArchive(