From: Paul Fertser Date: Sat, 26 Oct 2013 07:24:43 +0000 (+0400) Subject: checkpatch: treat jenkins as valid email X-Git-Tag: v0.8.0-rc1~198 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=cadd5197153576602a0f3ac45113f4c8ba0733fc;hp=3b3e3f67c10cc458321eb9030b671a922eceb149 checkpatch: treat jenkins as valid email This is needed to avoid checkpatch barking on already committed patches. Change-Id: Ic2b4cfa04c8230d45c68bbf6b370841f682b32d6 Signed-off-by: Paul Fertser Reviewed-on: http://openocd.zylin.com/1785 Tested-by: jenkins Reviewed-by: Jens Bauer Reviewed-by: Mathias Küster Reviewed-by: Spencer Oliver --- diff --git a/tools/scripts/checkpatch.pl b/tools/scripts/checkpatch.pl index eec68b7a0d..bc6b601731 100755 --- a/tools/scripts/checkpatch.pl +++ b/tools/scripts/checkpatch.pl @@ -446,6 +446,8 @@ sub parse_email { $address = ""; $comment = ""; } + } elsif ($formatted_email eq "jenkins") { + $address = "jenkins" } $name =~ s/^\s+|\s+$//g;