aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2012-03-23 18:01:56 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-23 19:58:32 -0400
commit728f5a94a1e1895e87dd802cb5cafaeec7e699e8 (patch)
tree6ca93c3986c5838f82fbebbb072981ccce7c5cb9 /scripts
parent0ede27450716dda82474023d6726ab50f2751adb (diff)
get_maintainer.pl: add support for moderated lists
Currently get_maintainer.pl reports moderated lists as open, which is just wrong. Signed-off-by: Richard Weinberger <richard@nod.at> Acked-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/get_maintainer.pl9
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index f5b1f3aa5bd2..0948c6b5a321 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -1027,8 +1027,13 @@ sub add_categories {
1027 if ($email_list) { 1027 if ($email_list) {
1028 if (!$hash_list_to{lc($list_address)}) { 1028 if (!$hash_list_to{lc($list_address)}) {
1029 $hash_list_to{lc($list_address)} = 1; 1029 $hash_list_to{lc($list_address)} = 1;
1030 push(@list_to, [$list_address, 1030 if ($list_additional =~ m/moderated/) {
1031 "open list${list_role}"]); 1031 push(@list_to, [$list_address,
1032 "moderated list${list_role}"]);
1033 } else {
1034 push(@list_to, [$list_address,
1035 "open list${list_role}"]);
1036 }
1032 } 1037 }
1033 } 1038 }
1034 } 1039 }