Thread (1 message) 1 message, 1 author, 2017-11-21

Re: [PATCH] git-send-email: fix get_maintainer.pl regression

From: Junio C Hamano <hidden>
Date: 2017-11-21 00:32:34

Eric Sunshine [off-list ref] writes:
The more I think about this, the less I consider this a bug in
git-send-email. As noted, people might legitimately use a complex
command (--cc-cmd="myscript--option arg"), so changing git-send-email
to treat cc-cmd as an atomic string seems like a bad idea.
I concur.  Thanks for thinking this through.
Assuming no changes to git-send-email, to get your test working, you
could try to figure out how to quote the script's path you're
specifying with --cc-cmd, however, even easier would be to drop $(pwd)
altogether. That is, instead of:

    --cc-cmd="$(pwd)/expected-cc-script.sh"

just use:

    --cc-cmd=./expected-cc-script.sh
Sounds sensible.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help