summaryrefslogtreecommitdiff
path: root/src/buildtool/file_system/git_utils.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_utils.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_utils.cpp')
-rw-r--r--src/buildtool/file_system/git_utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildtool/file_system/git_utils.cpp b/src/buildtool/file_system/git_utils.cpp
index 8e45671b..8fed7d7b 100644
--- a/src/buildtool/file_system/git_utils.cpp
+++ b/src/buildtool/file_system/git_utils.cpp
@@ -40,8 +40,8 @@ auto GitLastError() noexcept -> std::string {
return "<unknown error>";
}
-auto GitObjectID(std::string const& id, bool is_hex_id) noexcept
- -> std::optional<git_oid> {
+auto GitObjectID(std::string const& id,
+ bool is_hex_id) noexcept -> std::optional<git_oid> {
#ifdef BOOTSTRAP_BUILD_TOOL
return std::nullopt;
#else