mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-24 17:23:25 -05:00
scripts/get_maintainer.pl: use correct indentation
Fix an overly indented block. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
63ab52db5b
commit
6ffd9485f5
1 changed files with 15 additions and 15 deletions
|
@ -420,23 +420,23 @@ foreach my $file (@files) {
|
||||||
|
|
||||||
foreach my $line (sort {$hash{$b} <=> $hash{$a}} keys %hash) {
|
foreach my $line (sort {$hash{$b} <=> $hash{$a}} keys %hash) {
|
||||||
add_categories($line);
|
add_categories($line);
|
||||||
if ($sections) {
|
if ($sections) {
|
||||||
my $i;
|
my $i;
|
||||||
my $start = find_starting_index($line);
|
my $start = find_starting_index($line);
|
||||||
my $end = find_ending_index($line);
|
my $end = find_ending_index($line);
|
||||||
for ($i = $start; $i < $end; $i++) {
|
for ($i = $start; $i < $end; $i++) {
|
||||||
my $line = $typevalue[$i];
|
my $line = $typevalue[$i];
|
||||||
if ($line =~ /^[FX]:/) { ##Restore file patterns
|
if ($line =~ /^[FX]:/) { ##Restore file patterns
|
||||||
$line =~ s/([^\\])\.([^\*])/$1\?$2/g;
|
$line =~ s/([^\\])\.([^\*])/$1\?$2/g;
|
||||||
$line =~ s/([^\\])\.$/$1\?/g; ##Convert . back to ?
|
$line =~ s/([^\\])\.$/$1\?/g; ##Convert . back to ?
|
||||||
$line =~ s/\\\./\./g; ##Convert \. to .
|
$line =~ s/\\\./\./g; ##Convert \. to .
|
||||||
$line =~ s/\.\*/\*/g; ##Convert .* to *
|
$line =~ s/\.\*/\*/g; ##Convert .* to *
|
||||||
}
|
|
||||||
$line =~ s/^([A-Z]):/$1:\t/g;
|
|
||||||
print("$line\n");
|
|
||||||
}
|
}
|
||||||
print("\n");
|
$line =~ s/^([A-Z]):/$1:\t/g;
|
||||||
|
print("$line\n");
|
||||||
}
|
}
|
||||||
|
print("\n");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($email && $email_git) {
|
if ($email && $email_git) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue