From c893a26a008a3a260bb40dc3f14ee7bdcc353981 Mon Sep 17 00:00:00 2001 From: Paul Fertser Date: Sat, 26 Oct 2013 11:24:43 +0400 Subject: [PATCH] checkpatch: treat jenkins as valid email This is needed to avoid checkpatch barking on already committed patches. This is the old commit cadd51971535 ("checkpatch: treat jenkins as valid email") re-applied. Remove the flag BAD_SIGN_OFF, not anymore needed. Change-Id: I6744f80de982f7934f3a5197ac2df1c29962cbd0 Signed-off-by: Paul Fertser Signed-off-by: Antonio Borneo Reviewed-on: https://review.openocd.org/c/openocd/+/5120 Tested-by: jenkins --- .checkpatch.conf | 1 - tools/scripts/checkpatch.pl | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.checkpatch.conf b/.checkpatch.conf index 4f2c931ca..0aad4c5b4 100644 --- a/.checkpatch.conf +++ b/.checkpatch.conf @@ -30,5 +30,4 @@ # Temporarily lines, to commit checkpatch itself. To be removed! --no-tree ---ignore BAD_SIGN_OFF --ignore TYPO_SPELLING diff --git a/tools/scripts/checkpatch.pl b/tools/scripts/checkpatch.pl index 1daedd2f2..762e9ed82 100755 --- a/tools/scripts/checkpatch.pl +++ b/tools/scripts/checkpatch.pl @@ -1403,6 +1403,10 @@ sub parse_email { $address = ""; $comment = ""; } + # OpenOCD specific: Begin: handle jenkins as valid email + } elsif ($formatted_email eq "jenkins") { + $address = "jenkins"; + # OpenOCD specific: End } # Extract comments from names excluding quoted parts -- 2.30.2