summaryrefslogtreecommitdiff
path: root/test/other_tools/git_operations
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-11-05 17:21:44 +0100
committerMaksim Denisov <denisov.maksim@huawei.com>2024-11-14 14:23:05 +0100
commitfaba5b7d385311f08d421ee99511912b55f7582f (patch)
tree9eeab1f36862218cbda28c0733e8c00bd38da5c6 /test/other_tools/git_operations
parentaa89a9959b041538d8039f02aa34b65c7355b461 (diff)
downloadjustbuild-faba5b7d385311f08d421ee99511912b55f7582f.tar.gz
clang-format: Update config file
The base style already handles correctly the system includes, so one needs to only add regex expressions to handle third-party and own includes. This fixes also the include formatting of git_config_run.test.cpp.
Diffstat (limited to 'test/other_tools/git_operations')
-rw-r--r--test/other_tools/git_operations/git_config_run.test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/other_tools/git_operations/git_config_run.test.cpp b/test/other_tools/git_operations/git_config_run.test.cpp
index 57380280..34d625cd 100644
--- a/test/other_tools/git_operations/git_config_run.test.cpp
+++ b/test/other_tools/git_operations/git_config_run.test.cpp
@@ -17,6 +17,7 @@
#include <functional>
#include <memory>
#include <optional>
+#include <span>
#include <string>
#include "src/buildtool/file_system/git_context.hpp"
@@ -26,8 +27,6 @@
#include "src/other_tools/git_operations/git_config_settings.hpp"
#include "test/utils/logging/log_config.hpp"
-#include <span>
-
extern "C" {
#include <git2.h>
}