]> git.karo-electronics.de Git - linux-beck.git/blobdiff - scripts/get_maintainer.pl
Merge branch 'for-3.9' of git://linux-nfs.org/~bfields/linux
[linux-beck.git] / scripts / get_maintainer.pl
index 8b673dd4627fb20f4ab16a8af6de9524bd84a426..ce4cc837b74890e8ad973242718d1050e1f909c1 100755 (executable)
@@ -433,7 +433,7 @@ foreach my $file (@ARGV) {
 
        while (<$patch>) {
            my $patch_line = $_;
-           if (m/^\+\+\+\s+(\S+)/) {
+           if (m/^\+\+\+\s+(\S+)/ or m/^---\s+(\S+)/) {
                my $filename = $1;
                $filename =~ s@^[^/]*/@@;
                $filename =~ s@\n@@;
@@ -611,6 +611,10 @@ sub get_maintainers {
                                    $hash{$tvi} = $value_pd;
                                }
                            }
+                       } elsif ($type eq 'K') {
+                           if ($file =~ m/$value/x) {
+                               $hash{$tvi} = 0;
+                           }
                        }
                    }
                }