git: 2c0cd59345cb - main - checkstyle9.pl: Add check for bad email
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Jun 2023 16:08:42 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=2c0cd59345cb0aa2e3dd4da5b40e9c40dccd1ffa
commit 2c0cd59345cb0aa2e3dd4da5b40e9c40dccd1ffa
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-06-12 16:06:50 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-06-12 16:08:17 +0000
checkstyle9.pl: Add check for bad email
Add check for bad email. And remove check for qemu that doesn't matter.
Sponsored by: Netflix
---
tools/build/checkstyle9.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/build/checkstyle9.pl b/tools/build/checkstyle9.pl
index 5aec3819bf7c..aadf6ee152c5 100755
--- a/tools/build/checkstyle9.pl
+++ b/tools/build/checkstyle9.pl
@@ -1447,8 +1447,8 @@ sub process {
$is_patch = 1;
}
- if ($line =~ /^(Author|From): .* via .*<qemu-devel\@nongnu.org>/) {
- ERROR("Author email address is mangled by the mailing list\n" . $herecurr);
+ if ($line =~ /^(Author|From): .*noreply.*/) {
+ ERROR("Real email adress is needed\n" . $herecurr);
}
#check the patch for a signoff: