summaryrefslogtreecommitdiff
path: root/src/other_tools/root_maps/fpath_git_map.cpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-06-26 13:05:35 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-07-05 12:58:35 +0200
commit3440784e94de51c95d3dcca8509f8e46b4722ee6 (patch)
tree42b096e1766aa3706adf02b93508d721bed66efd /src/other_tools/root_maps/fpath_git_map.cpp
parent595b7c27d175b56bd296b33dc535818a05cdbadd (diff)
downloadjustbuild-3440784e94de51c95d3dcca8509f8e46b4722ee6.tar.gz
Pass Storage and StorageConfig to StorageUtils by reference
Diffstat (limited to 'src/other_tools/root_maps/fpath_git_map.cpp')
-rw-r--r--src/other_tools/root_maps/fpath_git_map.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/other_tools/root_maps/fpath_git_map.cpp b/src/other_tools/root_maps/fpath_git_map.cpp
index 65716b5c..f15051d7 100644
--- a/src/other_tools/root_maps/fpath_git_map.cpp
+++ b/src/other_tools/root_maps/fpath_git_map.cpp
@@ -107,8 +107,8 @@ void ResolveFilePathTree(
FilePathGitMap::LoggerPtr const& logger) {
if (pragma_special) {
// get the resolved tree
- auto tree_id_file =
- StorageUtils::GetResolvedTreeIDFile(tree_hash, *pragma_special);
+ auto tree_id_file = StorageUtils::GetResolvedTreeIDFile(
+ StorageConfig::Instance(), tree_hash, *pragma_special);
if (FileSystemManager::Exists(tree_id_file)) {
// read resolved tree id
auto resolved_tree_id = FileSystemManager::ReadFile(tree_id_file);