From 747c3ae005cf8e12eb23025db7362426f5ab595d Mon Sep 17 00:00:00 2001 From: Brandon Maier Date: Tue, 5 Nov 2024 14:37:21 +0000 Subject: [PATCH] .b4-config: check patches with ./utils/check-package NOTE: This requires `b4` version 0.14.2 or later as earlier versions had a bug that broke custom prep-perpatch-check-cmd[1]. If a check-cmd is declared, `b4` will warn developers to run the patch checker before sending a patch series[2][3]. Developers can then run `b4 prep --check` to automatically run ./utils/check-package on only files modified in the patch series. [1] https://github.com/mricon/b4/commit/0741bc9a5b45578e4d3804588dd3f63fe4848059 [2] https://b4.docs.kernel.org/en/latest/contributor/send.html#passing-pre-flight-checks-v0-14 [3] https://b4.docs.kernel.org/en/latest/config.html#contributor-oriented-settings Signed-off-by: Brandon Maier Signed-off-by: Arnout Vandecappelle --- .b4-config | 1 + 1 file changed, 1 insertion(+) diff --git a/.b4-config b/.b4-config index 1943458f2f..d568669864 100644 --- a/.b4-config +++ b/.b4-config @@ -3,5 +3,6 @@ [b4] send-series-to = buildroot@buildroot.org send-auto-cc-cmd = "./utils/get-developers -e -" + prep-perpatch-check-cmd = "./utils/check-package -q -p -" # vim: set filetype=gitconfig: