summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/bazel_msg/blob_tree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/execution_api/bazel_msg/blob_tree.cpp')
-rw-r--r--src/buildtool/execution_api/bazel_msg/blob_tree.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/buildtool/execution_api/bazel_msg/blob_tree.cpp b/src/buildtool/execution_api/bazel_msg/blob_tree.cpp
index 3e5e2fa6..88797970 100644
--- a/src/buildtool/execution_api/bazel_msg/blob_tree.cpp
+++ b/src/buildtool/execution_api/bazel_msg/blob_tree.cpp
@@ -69,8 +69,10 @@ auto BlobTree::FromDirectoryTree(DirectoryTreePtr const& tree,
/*is_tree=*/true));
digest.set_size_bytes(
gsl::narrow<google::protobuf::int64>(git_tree->second.size()));
- return std::make_shared<BlobTree>(
- BazelBlob{digest, git_tree->second}, nodes);
+ return std::make_shared<BlobTree>(BazelBlob{digest,
+ git_tree->second,
+ /*is_exec=*/false},
+ nodes);
}
} catch (...) {
return std::nullopt;