From 8a4fb82d7376c08b0473df3899803fc68e5578f0 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Thu, 28 Nov 2024 15:12:12 +0100 Subject: computed roots: restrict in-memory root computation to the supported cases ... and, in this way, avoid git-tree computations with invalid git identifiers. --- src/buildtool/computed_roots/artifacts_root.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/buildtool/computed_roots/artifacts_root.cpp') diff --git a/src/buildtool/computed_roots/artifacts_root.cpp b/src/buildtool/computed_roots/artifacts_root.cpp index dde240a6..8124461b 100644 --- a/src/buildtool/computed_roots/artifacts_root.cpp +++ b/src/buildtool/computed_roots/artifacts_root.cpp @@ -146,8 +146,6 @@ auto ArtifactsRoot(ExpressionPtr const& stage, true); return std::nullopt; } - // TODO(aehlig): Do re-hashing in case of compatible mode - // We obtain the entries odered by key; in particular, the entries of all // subtrees will be next to each other. So, we compute the final tree // keeping a stack of partially set up tree while walking. -- cgit v1.2.3