summaryrefslogtreecommitdiff
path: root/src/buildtool/file_system/git_repo.cpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2022-12-12 14:21:17 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2022-12-21 14:44:06 +0100
commitecff253633ada6ca88db8ab207c593ebde033044 (patch)
tree0b28307ef32998721c7b311467a8fdd0fa653d59 /src/buildtool/file_system/git_repo.cpp
parent05ad8569b852ffb61d9cb6d92efc9e867c083d1e (diff)
downloadjustbuild-ecff253633ada6ca88db8ab207c593ebde033044.tar.gz
Test: Add tests for critical git ops
Diffstat (limited to 'src/buildtool/file_system/git_repo.cpp')
-rw-r--r--src/buildtool/file_system/git_repo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/file_system/git_repo.cpp b/src/buildtool/file_system/git_repo.cpp
index e5b5e65e..0aae1176 100644
--- a/src/buildtool/file_system/git_repo.cpp
+++ b/src/buildtool/file_system/git_repo.cpp
@@ -1421,7 +1421,7 @@ auto GitRepo::ReadTreeData(std::string const& data,
}
auto GitRepo::CreateShallowTree(tree_entries_t const& entries) noexcept
- -> std::optional<std::pair<std::string, std::string>> {
+ -> std::optional<std::pair<std::string, std::string> > {
#ifndef BOOTSTRAP_BUILD_TOOL
try {
InMemoryODBBackend b{kInMemoryODBParent, &entries};