summaryrefslogtreecommitdiff
path: root/src/buildtool/file_system/git_repo.cpp
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-08-27 11:14:38 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-08-27 11:40:40 +0200
commitbc39ecc0385dd7e0cb9e1df84628e4c6dde34ab5 (patch)
tree4556b3f5f5898ef56316fc1612a04402b79903ef /src/buildtool/file_system/git_repo.cpp
parent340f3478dc2bffe1a75496e5c120e88274fee698 (diff)
downloadjustbuild-bc39ecc0385dd7e0cb9e1df84628e4c6dde34ab5.tar.gz
Reformat code to comply with clang-format 18
... while keeping our .clang-format file.
Diffstat (limited to 'src/buildtool/file_system/git_repo.cpp')
-rw-r--r--src/buildtool/file_system/git_repo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildtool/file_system/git_repo.cpp b/src/buildtool/file_system/git_repo.cpp
index 5ab010d4..c75029ee 100644
--- a/src/buildtool/file_system/git_repo.cpp
+++ b/src/buildtool/file_system/git_repo.cpp
@@ -264,8 +264,8 @@ struct InMemoryODBBackend {
return GIT_ERROR;
}
-[[nodiscard]] auto backend_exists(git_odb_backend* _backend, const git_oid* oid)
- -> int {
+[[nodiscard]] auto backend_exists(git_odb_backend* _backend,
+ const git_oid* oid) -> int {
if (_backend != nullptr and oid != nullptr) {
auto* b = reinterpret_cast<InMemoryODBBackend*>(_backend); // NOLINT
if (auto id = ToRawString(*oid)) {