Re: [PATCH 0/10] MAINTAINERS - add script, patterns and miscupdates

From: Andrew Morton
Date: Fri Apr 17 2009 - 18:21:27 EST


On Fri, 17 Apr 2009 15:09:28 -0700
Joe Perches <joe@xxxxxxxxxxx> wrote:

> On Fri, 2009-04-17 at 14:41 -0700, Andrew Morton wrote:
> > Lots of people's scripts/get_maintainer.pl files won't have the `x' bit
> > set because patch(1) is dumb. So for reliability it's best to always do
>
> git at least persisted the "x" bit.
> checkpatch doesn't say to use perl.
>
> > perl ./scripts/get_maintainer.pl
>
> OK by me.
>
> > : akpm:/usr/src/25> perl scripts/get_maintainer.pl -f fs/ext3/inode.c
> > : grep: The -P option is not supported
> > that's odd. `man grep' on this machine says
>
> I changed the script grep to use "-E", which is older.
>
> > : fatal: Not a git repository
> >
> > it whines about not being run in a git directory, but does a decent
> > job anyway.
>
> Oh, I see, you've git installed, but not in your
> /usr/src/25 directory.
>
> I changed the script to verify that a .git directory
> exists before running git.

hm, well, there's benefit in telling the user "hey, you'll get better
results if you run this in your git directory".

> How about with these 2 patches applied?
>

akpm:/usr/src/25> perl scripts/get_maintainer.pl -f fs/ext3/inode.c
Andreas Dilger <adilger@xxxxxxx>
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Stephen Tweedie <sct@xxxxxxxxxx>
linux-ext4@xxxxxxxxxxxxxxx
linux-kernel@xxxxxxxxxxxxxxx

--
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/