Eric Sunshine <sunshine@xxxxxxxxxxxxxx> 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.