On Mon, 2016-02-15 at 13:48 +0530, Viresh Kumar wrote:
> On 14-02-16, 23:36, Joe Perches wrote:
> > On Mon, 2016-02-15 at 12:07 +0530, Viresh Kumar wrote:
> > > On 14-02-16, 21:42, Joe Perches wrote:
> > > > Not what I get with current -next:
> > > > 
> > > > $ ./scripts/get_maintainer.pl -f Documentation/power/opp.txt 
> > > > Viresh Kumar <vire...@kernel.org> (maintainer:OPERATING
> > > > PERFORMANCE POINTS (OPP))
> > > > Nishanth Menon <n...@ti.com> (maintainer:OPERATING PERFORMANCE
> > > > POINTS (OPP))
> > > > Stephen Boyd <sb...@codeaurora.org> (maintainer:OPERATING
> > > > PERFORMANCE POINTS (OPP))
> > > > "Rafael J. Wysocki" <r...@rjwysocki.net> (supporter:SUSPEND TO
> > > > RAM)
> > > > Len Brown <len.br...@intel.com> (supporter:SUSPEND TO RAM)
> > > > Pavel Machek <pa...@ucw.cz> (supporter:SUSPEND TO RAM)
> > > > linux...@vger.kernel.org (open list:OPERATING PERFORMANCE
> > > > POINTS (OPP))
> > > > linux-kernel@vger.kernel.org (open list)
> > > 
> > > Okay, its not get-maintainers, but cc-cmd that is screwing it up.
> > > 
> > > I have tested it again with following in my .gitconfig:
> > > 
> > > [sendemail]
> > >         cccmd = scripts/get_maintainers~/scripts/cccmd
> > > 
> > 
> > Then you should most likely fix your cccmd script.
> 
> Sorry for bad copy-paste, it looks like this instead:
> 
> [sendemail]
>         cccmd = scripts/get_maintainers
> 
> So, its some issue with git I suppose. I will try logging a ticket
> there.

git send-email requires a simple list of names and addresses
without decorations like roles, commit stats or section names.

You are supposed to use something like:

tocmd = "scripts/get_maintainer.pl --nogit --nogit-fallback --norolestats 
--pattern-depth=1 --nol"
cccmd = "scripts/get_maintainer.pl --nogit --nogit-fallback --norolestats --nom 
--nor"

Reply via email to