Issues with cc-cmd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Guys,

I am facing a strange issue with git send-email, with cccmd and was
looking for some help.

I am using it with Linux Kernel..

I used get-maintainers today to submit few patches for OPP framework
and that is defined as below in MAINTAINERS:

OPERATING PERFORMANCE POINTS (OPP)
M:      Viresh Kumar <vireshk@xxxxxxxxxx>
M:      Nishanth Menon <nm@xxxxxx>
M:      Stephen Boyd <sboyd@xxxxxxxxxxxxxx>
L:      linux-pm@xxxxxxxxxxxxxxx
S:      Maintained
T:      git git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git
F:      drivers/base/power/opp/
F:      include/linux/pm_opp.h
F:      Documentation/power/opp.txt
F:      Documentation/devicetree/bindings/opp/


The parenthesis in the subsystem-name causes the cc list to look like:

Cc: linaro-kernel@xxxxxxxxxxxxxxxx,
linux-pm@xxxxxxxxxxxxxxx,
Viresh Kumar <viresh.kumar@xxxxxxxxxx>,
Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>,
Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>,
Len Brown <len.brown@xxxxxxxxx>,
linux-kernel@xxxxxxxxxxxxxxx (open list),
linux-pm@xxxxxxxxxxxxxxx) (open list:OPERATING PERFORMANCE POINTS
(OPP),
Nishanth Menon <nm@xxxxxx>,
Pavel Machek <pavel@xxxxxx>,
Stephen Boyd <sboyd@xxxxxxxxxxxxxx>,
Viresh Kumar <vireshk@xxxxxxxxxx>


Look at the second linux-pm entry here, it adds a ')' at the end of
the list's address and removes it from the end of the line.

And so that becomes an invalid address to git-send-email.

Dropping () from the subsystem name fixes it though..

The output of get_maintainers looks fine, but when its being used by
putting following into .gitconfig:

[sendemail]
        cccmd = scripts/get_maintainers


it doesn't work well..

-- 
viresh
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]