summaryrefslogtreecommitdiff
path: root/src/buildtool/common/tree_overlay.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/common/tree_overlay.hpp')
-rw-r--r--src/buildtool/common/tree_overlay.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildtool/common/tree_overlay.hpp b/src/buildtool/common/tree_overlay.hpp
index 1b7faaed..69b992a2 100644
--- a/src/buildtool/common/tree_overlay.hpp
+++ b/src/buildtool/common/tree_overlay.hpp
@@ -103,7 +103,8 @@ class TreeOverlay {
// identification of trees. SHA256 is used.
HashFunction const hash_function{HashFunction::Type::PlainSHA256};
return hash_function
- .PlainHashData(ComputeDescription(trees, disjoint).dump())
+ .PlainHashData(fmt::format(
+ "TREE_OVERLAY:{}", ComputeDescription(trees, disjoint).dump()))
.HexString();
}