qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 31/33] get_maintainer.pl: fall back to git if only li


From: Paolo Bonzini
Subject: [Qemu-devel] [PULL 31/33] get_maintainer.pl: fall back to git if only lists are found
Date: Tue, 9 Feb 2016 17:13:51 +0100

It's not 100% obvious to project newcomers that all patches should be sent
there; checkpatch doesn't say so, and since it mentions other lists to CC,
the wording "the list" from the SubmitAPatch wiki page can be taken
to mean only those lists, not the main list too.  We would like therefore
to add a catch-all entry for address@hidden

On its own, this would break fallback to git, because now every file
has a maintainer of sorts.  Modify get_maintainer.pl so that mailing
lists (L: lines) no longer prevent the fallback, only humans (M:
entries).

Several pre-existing entries have a list but no human.  These now
fall back to git.  That's a feature.

Cc: Paolo Bonzini <address@hidden>
Cc: Markus Armbruster <address@hidden>
Cc: John Snow <address@hidden>
Signed-off-by: Stephen Warren <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
 scripts/get_maintainer.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index 7dacf32..8261bcb 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -636,7 +636,7 @@ sub get_maintainers {
 
     if ($email) {
        if (! $interactive) {
-           $email_git_fallback = 0 if @email_to > 0 || @list_to > 0 || 
$email_git || $email_git_blame;
+           $email_git_fallback = 0 if @email_to > 0 || $email_git || 
$email_git_blame;
            if ($email_git_fallback) {
                print STDERR "get_maintainer.pl: No maintainers found, printing 
recent contributors.\n";
                print STDERR "get_maintainer.pl: Do not blindly cc: them on 
patches!  Use common sense.\n";
-- 
2.5.0





reply via email to

[Prev in Thread] Current Thread [Next in Thread]