aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/get_maintainer.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/get_maintainer.pl')
-rwxr-xr-xscripts/get_maintainer.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index 8b673dd4627f..18d4ab55606b 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -433,7 +433,7 @@ foreach my $file (@ARGV) {
433 433
434 while (<$patch>) { 434 while (<$patch>) {
435 my $patch_line = $_; 435 my $patch_line = $_;
436 if (m/^\+\+\+\s+(\S+)/) { 436 if (m/^\+\+\+\s+(\S+)/ or m/^---\s+(\S+)/) {
437 my $filename = $1; 437 my $filename = $1;
438 $filename =~ s@^[^/]*/@@; 438 $filename =~ s@^[^/]*/@@;
439 $filename =~ s@\n@@; 439 $filename =~ s@\n@@;