summaryrefslogtreecommitdiff
path: root/src/buildtool/computed_roots/artifacts_root.cpp
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-11-28 15:12:12 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-11-28 16:43:50 +0100
commit8a4fb82d7376c08b0473df3899803fc68e5578f0 (patch)
treed1546a173c13e6ae7a00597e1e48fcc91fb548a2 /src/buildtool/computed_roots/artifacts_root.cpp
parent7ce5c124f942be4e576b97670682d6afb12fb570 (diff)
downloadjustbuild-8a4fb82d7376c08b0473df3899803fc68e5578f0.tar.gz
computed roots: restrict in-memory root computation to the supported cases
... and, in this way, avoid git-tree computations with invalid git identifiers.
Diffstat (limited to 'src/buildtool/computed_roots/artifacts_root.cpp')
-rw-r--r--src/buildtool/computed_roots/artifacts_root.cpp2
1 files changed, 0 insertions, 2 deletions
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.