Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164511
b: refs/heads/master
c: 1d606b4
h: refs/heads/master
i:
  164509: be0c12a
  164507: 25d00fa
  164503: 6ae3ea9
  164495: ec6c470
  164479: 59b3f16
v: v3
  • Loading branch information
Joe Perches authored and Linus Torvalds committed Sep 22, 2009
1 parent 5474d7e commit b321f4b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f5492666a3b62344de9026a960c11888160362c9
refs/heads/master: 1d606b4e0bf8fe45e3f88543dfce83207ae0027d
9 changes: 8 additions & 1 deletion trunk/scripts/get_maintainer.pl
Original file line number Diff line number Diff line change
Expand Up @@ -211,25 +211,32 @@
if ($type eq 'X') {
if (file_match_pattern($file, $value)) {
$exclude = 1;
last;
}
}
}
}

if (!$exclude) {
my $tvi = 0;
my %hash;
foreach my $line (@typevalue) {
if ($line =~ m/^(\C):\s*(.*)/) {
my $type = $1;
my $value = $2;
if ($type eq 'F') {
if (file_match_pattern($file, $value)) {
add_categories($tvi);
my $pattern_depth = ($value =~ tr@/@@);
$pattern_depth++ if (!(substr($value,-1,1) eq "/"));
$hash{$tvi} = $pattern_depth;
}
}
}
$tvi++;
}
foreach my $line (sort {$hash{$b} <=> $hash{$a}} keys %hash) {
add_categories($line);
}
}

if ($email && $email_git) {
Expand Down

0 comments on commit b321f4b

Please sign in to comment.