summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Racine <bass_dr@hotmail.com>2026-09-21 00:49:02 -0400
committerGitHub <noreply@github.com>2026-09-21 04:49:02 +0000
commit39a8d0401837424837f34b3d61edb7e6a542e76e (patch)
treeb3b326650bf0485b56fb04414a2f5a59608c967f
parent04ccd608b3884713bf6bf6284f5d272c256fc507 (diff)
Use --no-pager for the no-tabs check's git grep (#7232)
-rwxr-xr-xscripts/check-no-tabs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-no-tabs.sh b/scripts/check-no-tabs.sh
index b469baed9..8eccad28b 100755
--- a/scripts/check-no-tabs.sh
+++ b/scripts/check-no-tabs.sh
@@ -3,7 +3,7 @@
cd "$(dirname "$0")/.." || exit 2
-if git grep -n "$(printf '\t')" -- 'soh/*.c' 'soh/*.cpp' 'soh/*.h' 'soh/*.hpp' ':!soh/include'; then
+if git --no-pager grep -n "$(printf '\t')" -- 'soh/*.c' 'soh/*.cpp' 'soh/*.h' 'soh/*.hpp' ':!soh/include'; then
echo "replace tabs with spaces"
exit 1
fi