[LTP] [PATCH] b4: fix errors in b4 prep --check command

Andrea Cervesato andrea.cervesato@suse.de
Mon May 4 10:11:47 CEST 2026


From: Andrea Cervesato <andrea.cervesato@suse.com>

Set non-file mode for `b4 prep --check` command, so checkpatch won't
threat commits as files.

Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
 .b4-config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.b4-config b/.b4-config
index ff3199624cb250239c7e62c3b1939085a7e4e2c2..aea68ad8f622ea701c90037ee7a1968a7d4a209e 100644
--- a/.b4-config
+++ b/.b4-config
@@ -6,5 +6,5 @@
     pw-project = ltp
 
     # other checkpatch.pl options from .checkpatch.conf are used
-    prep-perpatch-check-cmd = ./scripts/checkpatch.pl -q --mailback --showfile
+    prep-perpatch-check-cmd = ./scripts/checkpatch.pl -q --mailback --showfile --no-f
     am-perpatch-check-cmd = ./scripts/checkpatch.pl -q --mailback

---
base-commit: 72ca484cca53710b956ba2fcc1ff203fe9c9b73b
change-id: 20260504-fix_b4_check-439134b8af93

Best regards,
-- 
Andrea Cervesato <andrea.cervesato@suse.com>



More information about the ltp mailing list