From 39a8d0401837424837f34b3d61edb7e6a542e76e Mon Sep 17 00:00:00 2001 From: David Racine Date: Mon, 21 Sep 2026 00:49:02 -0400 Subject: [PATCH] Use --no-pager for the no-tabs check's git grep (#7232) --- scripts/check-no-tabs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check-no-tabs.sh b/scripts/check-no-tabs.sh index b469baed91..8eccad28b6 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