Re: [PATCH] get_maintainer.pl: Add support to match arbitrary text

From: Joe Perches
Date: Mon Jan 24 2011 - 18:53:56 EST


On Tue, 2011-01-25 at 00:32 +0100, L. Alberto GimÃnez wrote:
> Extend the usage of the K section in the MAINTAINERS file to support matching
> regular expressions with the content that precedes the patch (delimited by three
> dashes "---").
> + } elsif (not $in_patch and m/^---/) {
> + # enter "patch area": keywords matched only on changed lines
> + $in_patch = 1;

Not all patches need or have ---

This would be better as "^---$"


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/