We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f67eb09 commit 10f83c3Copy full SHA for 10f83c3
tools/format-all.sh
@@ -6,8 +6,5 @@
6
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
7
# SPDX-License-Identifier: Apache-2.0
8
9
-TOP_DIR=$(git rev-parse --show-toplevel)
10
-
11
-find ${TOP_DIR} \( -iname "*.cpp" -o -iname "*.hpp" -o -iname "*.h" -o -iname "*.c" \) -a \
12
- -not \( -path "${TOP_DIR}/fpga/thirdparty/*" -o -path "${TOP_DIR}/build*/*" \) | \
13
- xargs clang-format --verbose -i
+git ls-files -c -z -- "*.c" ".h" "*.hpp" "*.cpp" ":!:fpga/thirdparty" |\
+ xargs -0 clang-format --verbose -i
0 commit comments