From 5bc6265b2ffe43370b4cddd0a9e4c09b059ef131 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Wed, 26 Jun 2024 16:07:58 +0200 Subject: Pass StorageConfig to git_repo and git_repo_remote --- src/other_tools/root_maps/commit_git_map.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/other_tools/root_maps/commit_git_map.cpp') diff --git a/src/other_tools/root_maps/commit_git_map.cpp b/src/other_tools/root_maps/commit_git_map.cpp index fac4d98d..4a33d240 100644 --- a/src/other_tools/root_maps/commit_git_map.cpp +++ b/src/other_tools/root_maps/commit_git_map.cpp @@ -254,7 +254,8 @@ void NetworkFetchAndSetPresentRoot( err_messages += fmt::format( "While attempting fetch from URL {}:\n{}\n", mirror, msg); }); - if (git_repo->FetchViaTmpRepo(mirror, + if (git_repo->FetchViaTmpRepo(StorageConfig::Instance(), + mirror, repo_info.branch, repo_info.inherit_env, git_bin, -- cgit v1.2.3