aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2013-10-26 11:24:43 +0400
committerSpencer Oliver <spen@spen-soft.co.uk>2013-10-29 22:55:55 +0000
commitcadd5197153576602a0f3ac45113f4c8ba0733fc (patch)
tree9f280e52371f754758926875a22f3fda76602877 /tools
parent3b3e3f67c10cc458321eb9030b671a922eceb149 (diff)
downloadriscv-openocd-cadd5197153576602a0f3ac45113f4c8ba0733fc.zip
riscv-openocd-cadd5197153576602a0f3ac45113f4c8ba0733fc.tar.gz
riscv-openocd-cadd5197153576602a0f3ac45113f4c8ba0733fc.tar.bz2
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 <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/1785 Tested-by: jenkins Reviewed-by: Jens Bauer <jens@gpio.dk> Reviewed-by: Mathias Küster <kesmtp@freenet.de> Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/scripts/checkpatch.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/scripts/checkpatch.pl b/tools/scripts/checkpatch.pl
index eec68b7..bc6b601 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;