Scripts: Fix use of removed helper script

This was accidentally changed back to clang-format.py in
3b322d8f37.
This commit is contained in:
Tony Wasserka committed 2025-08-22 11:05:01 +02:00
1 parent 83e44961fc
commit 95623dac63
1 file changed
+2 -2
+2 -2
View File
@@ -38,13 +38,13 @@ if [ "$CHANGED_ONLY" = true ]; then
CHANGED_FILES=$(git ls-files -m '*.cpp' '*.h' '*.inl')
if [ -n "$CHANGED_FILES" ]; then
echo "$CHANGED_FILES" | xargs -d '\n' -n 1 -P $(nproc) python3 "$SCRIPT_DIR/clang-format.py" -i
echo "$CHANGED_FILES" | xargs -d '\n' -n 1 -P $(nproc) clang-format-19 -i
else
echo "No changed files to format."
fi
else
# Reformat whole tree (original behavior)
git ls-files -z '*.cpp' '*.h' '*.inl' | xargs -0 -n 1 -P $(nproc) python3 "$SCRIPT_DIR/clang-format.py" -i
git ls-files -z '*.cpp' '*.h' '*.inl' | xargs -0 -n 1 -P $(nproc) clang-format-19 -i
fi
cd $DIR