[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100915063445.7d8ccd4d@schatten.dmk.lab>
Date: Wed, 15 Sep 2010 06:34:45 +0200
From: Florian Mickler <florian@...kler.org>
To: Joe Perches <joe@...ches.com>
Cc: "Eric W. Biederman" <ebiederm@...ssion.com>,
Christoph Hellwig <hch@...radead.org>,
Stephen Hemminger <shemminger@...tta.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, Wolfram Sang <w.sang@...gutronix.de>
Subject: Re: [PATCH] get_maintainer.pl: append reason for cc to the name by
default
On Tue, 14 Sep 2010 20:28:44 -0700
Joe Perches <joe@...ches.com> wrote:
> On Tue, 2010-09-14 at 19:46 +0200, Florian Mickler wrote:
> > On Tue, 14 Sep 2010 10:19:33 -0700
> > ebiederm@...ssion.com (Eric W. Biederman) wrote:
> > > Florian Mickler <florian@...kler.org> writes:
> > An interactive mode in git shortlog form of the last year should be
> > possible, i guess.
> >
> > I wonder, if git send-email --cc-cmd allows for directing input towards
> > get_maintainer.pl. That would be awesome.
>
> Yes it does. You could use any script or direct command
> with arguments you like.
>
> I sent you privately a script that does that last week.
I think we misunderstand each other.
For the reference, you talk about this snippet? Or did I overlook smth?
$ cat scripts/send-email-listed-MAINTAINERS-only
#!/bin/bash
if [[ $(basename $1) =~ ^0000- ]] ; then
./scripts/get_maintainer.pl --nogit $(dirname $1)/*
else
./scripts/get_maintainer.pl --nogit $1
fi
But for the interactive mode I had STDIN in mind.
And now that I checked, it is indeed possible. I have a quick prove of
concept for an get_maintainer.pl --interactive mode that shows you the
cc's, lists their commits and let's you choose whom to add to the cc
(using STDERR, as git-send-email.pl obviously expects adresses on
STDOUT).
I haven't experimented much with it, but if it works out expect a
patch. But first I need some coffee and breakfast, as it's morning
over here. :-)
Regards,
Flo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists