]> git.sur5r.net Git - openocd/commitdiff
checkpatch: treat jenkins as valid email
authorPaul Fertser <fercerpav@gmail.com>
Sat, 26 Oct 2013 07:24:43 +0000 (11:24 +0400)
committerSpencer Oliver <spen@spen-soft.co.uk>
Tue, 29 Oct 2013 22:55:55 +0000 (22:55 +0000)
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>
tools/scripts/checkpatch.pl

index eec68b7a0dcc9f1e66b5115b63db0fb77e556460..bc6b6017317ff2e75487cf6c96d285a401cfe124 100755 (executable)
@@ -446,6 +446,8 @@ sub parse_email {
                        $address = "";
                        $comment = "";
                }
+       } elsif ($formatted_email eq "jenkins") {
+               $address = "jenkins"
        }
 
        $name =~ s/^\s+|\s+$//g;