summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/git
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/execution_api/git')
-rw-r--r--src/buildtool/execution_api/git/git_api.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/buildtool/execution_api/git/git_api.hpp b/src/buildtool/execution_api/git/git_api.hpp
index a02f577e..64e3bd16 100644
--- a/src/buildtool/execution_api/git/git_api.hpp
+++ b/src/buildtool/execution_api/git/git_api.hpp
@@ -117,10 +117,13 @@ class GitApi final : public IExecutionApi {
return true;
}
+ // NOLINTNEXTLINE(google-default-arguments)
[[nodiscard]] auto RetrieveToFds(
std::vector<Artifact::ObjectInfo> const& artifacts_info,
std::vector<int> const& fds,
- bool raw_tree) const noexcept -> bool override {
+ bool raw_tree,
+ IExecutionApi const* /*alternative*/ = nullptr) const noexcept
+ -> bool override {
if (artifacts_info.size() != fds.size()) {
Logger::Log(LogLevel::Error,
"different number of digests and file descriptors.");