Re: [PATCH] scripts/get_maintainer.pl: fix .mailmap handling

From: Florian Mickler
Date: Tue Sep 21 2010 - 00:59:27 EST


On Mon, 20 Sep 2010 17:14:45 -0700
Joe Perches <joe@xxxxxxxxxxx> wrote:

> On Tue, 2010-09-21 at 00:35 +0200, florian@xxxxxxxxxxx wrote:
> > From: florian@xxxxxxxxxxx <florian@xxxxxxxxxxx>
> > diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
>
> []
>
> > - my ($name, $address) = parse_email($line);
> > - $line = format_email($name, $address, $email_usename);
> > + next if (/^\s*$/); #skip empty lines
> > + #print "entry: \"$_\"\n";
>
> Please do not add commented out debugging code.
> Add and use use some centralized debug(foo) call.

Hm. Yes that might be better in the long run.

>
> []
>
> > +sub mailmap {
> > + my (@addresses) = @_;
> > +
> > + my @ret = ();
>
> Suboptimal naming. I try to use descriptive names.
>
> cheers, Joe
>

:-)

Come on, Joe! It was "sub mailmap" before. @addresses was @list before
and @ret is the list that get's returned by the function.

If you think a patch is ok, you actually may say so.

Regards,
Flo
--
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/