]> xenbits.xensource.com Git - people/iwj/xen.git/commitdiff
scripts/add_maintainers.pl: Don't call get_maintainers.pl with -f
authorJulien Grall <julien.grall@arm.com>
Tue, 5 Jun 2018 16:39:38 +0000 (17:39 +0100)
committerJulien Grall <julien.grall@arm.com>
Tue, 12 Jun 2018 11:08:15 +0000 (12:08 +0100)
The option -f of scripts/get_maintainers.pl will return the maintainers
of a given file, *not* the list of maintainers if the file was a patch.

The output expected of add_maintainers is the latter, so drop the option
-f.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Lars Kurth <lars.kurth@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
scripts/add_maintainers.pl

index 99e4724112f921dd0366a6e6da003f5ab9b0148e..09e9f6609fa72dcbb55db80486c058af8f8a70f9 100755 (executable)
@@ -420,7 +420,7 @@ sub ismailinglist ($) {
 sub getmaintainers ($$$) {
     my ($file, $rto, $rcc) = @_;
     my $fh;
-    open($fh, "-|", $get_maintainer, @get_maintainer_args, '-f', $file)
+    open($fh, "-|", $get_maintainer, @get_maintainer_args, $file)
         or die "Failed to open '$get_maintainer'\n";
     while(my $line = <$fh>) {
         chomp $line;