From ee30f8a8acf04ce67b84c2250133f69aeb110793 Mon Sep 17 00:00:00 2001 From: Alberto Sartori Date: Fri, 18 Oct 2024 18:03:19 +0200 Subject: distdir_git_map.cpp: fix is_tree value --- src/other_tools/root_maps/distdir_git_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/other_tools/root_maps/distdir_git_map.cpp') diff --git a/src/other_tools/root_maps/distdir_git_map.cpp b/src/other_tools/root_maps/distdir_git_map.cpp index 455dd25b..a19889b2 100644 --- a/src/other_tools/root_maps/distdir_git_map.cpp +++ b/src/other_tools/root_maps/distdir_git_map.cpp @@ -341,7 +341,7 @@ auto CreateDistdirGitMap( auto const tree_id = ToHexString(tree->first); // get digest object auto const digest = ArtifactDigestFactory::Create( - HashFunction::Type::GitSHA1, tree_id, 0, /*is_tree=*/false); + HashFunction::Type::GitSHA1, tree_id, 0, /*is_tree=*/true); // use this knowledge of the resulting tree identifier to try to set // up the absent root without actually checking the local status of -- cgit v1.2.3