Replace tabs with spaces (#7223)

This commit is contained in:
Philip Dubé
2026-09-19 18:09:26 +00:00
committed by GitHub
parent 27a66925bf
commit 5fee87c23e
18 changed files with 131 additions and 95 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
# Fail if any C/C++ source in soh/ outside soh/include contains a tab.
cd "$(dirname "$0")/.." || exit 2
if git grep -n "$(printf '\t')" -- 'soh/*.c' 'soh/*.cpp' 'soh/*.h' 'soh/*.hpp' ':!soh/include'; then
echo "replace tabs with spaces"
exit 1
fi