scripts/add_maintainers.pl: Don't call get_maintainers.pl with -f

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>
This commit is contained in:
Julien Grall committed 2018-06-12 12:08:15 +01:00
1 parent 11535cdbc0
commit 41339ecb5f
1 file changed
+1 -1
+1 -1
View File
@@ -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;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.