[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/4] get_maintainer.pl: exit with status 1 if no mai
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 1/4] get_maintainer.pl: exit with status 1 if no maintainer found |
Date: |
Wed, 22 Oct 2014 11:08:19 +0200 |
This can be useful, at the very least, for debugging.
Signed-off-by: Paolo Bonzini <address@hidden>
---
scripts/get_maintainer.pl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index 38334de..a3a16d8 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -55,7 +55,7 @@ my $help = 0;
my $vcs_used = 0;
-my $exit = 0;
+my $exit = 1;
my %commit_author_hash;
my %commit_signer_hash;
@@ -2061,6 +2061,7 @@ sub output {
print(join($output_separator, @parms));
print("\n");
}
+ $exit = 0 if @parms > 0;
}
my $rfc822re;
--
1.8.3.1
- [Qemu-devel] [PATCH 0/4] small improvements to get_maintainer.pl, Paolo Bonzini, 2014/10/22
- [Qemu-devel] [PATCH 1/4] get_maintainer.pl: exit with status 1 if no maintainer found,
Paolo Bonzini <=
- [Qemu-devel] [PATCH 3/4] get_maintainer.pl: move git loop under "if ($email) {", Paolo Bonzini, 2014/10/22
- [Qemu-devel] [PATCH 4/4] get_maintainer.pl: point at --git-fallback instead of enabling it automatically, Paolo Bonzini, 2014/10/22
- Re: [Qemu-devel] [PATCH 4/4] get_maintainer.pl: point at --git-fallback instead of enabling it automatically, Michael S. Tsirkin, 2014/10/22
- Re: [Qemu-devel] [PATCH 4/4] get_maintainer.pl: point at --git-fallback instead of enabling it automatically, Paolo Bonzini, 2014/10/22
- Re: [Qemu-devel] [PATCH 4/4] get_maintainer.pl: point at --git-fallback instead of enabling it automatically, Thomas Huth, 2014/10/22
- Re: [Qemu-devel] [PATCH 4/4] get_maintainer.pl: point at --git-fallback instead of enabling it automatically, Michael S. Tsirkin, 2014/10/22
- Re: [Qemu-devel] [PATCH 4/4] get_maintainer.pl: point at --git-fallback instead of enabling it automatically, Paolo Bonzini, 2014/10/22
- Re: [Qemu-devel] [PATCH 4/4] get_maintainer.pl: point at --git-fallback instead of enabling it automatically, Markus Armbruster, 2014/10/22