diff options
author | Alberto Sartori <alberto.sartori@huawei.com> | 2024-10-18 18:03:19 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-10-25 13:00:43 +0200 |
commit | ee30f8a8acf04ce67b84c2250133f69aeb110793 (patch) | |
tree | 223d7773b3d6f5f9dd270380517b13665e58ca2e /src/other_tools/root_maps | |
parent | 7f160a29a0fcfc1d8150cdde1d9a2d2dbf29216b (diff) | |
download | justbuild-ee30f8a8acf04ce67b84c2250133f69aeb110793.tar.gz |
distdir_git_map.cpp: fix is_tree value
Diffstat (limited to 'src/other_tools/root_maps')
-rw-r--r-- | src/other_tools/root_maps/distdir_git_map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |