diff options
author | Paul Fertser <fercerpav@gmail.com> | 2013-10-26 11:24:43 +0400 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2013-10-29 22:55:55 +0000 |
commit | cadd5197153576602a0f3ac45113f4c8ba0733fc (patch) | |
tree | 9f280e52371f754758926875a22f3fda76602877 /tools | |
parent | 3b3e3f67c10cc458321eb9030b671a922eceb149 (diff) |
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-x | tools/scripts/checkpatch.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/scripts/checkpatch.pl b/tools/scripts/checkpatch.pl index eec68b7a..bc6b6017 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; |