git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to use --cc-cmd in git-send-email?
@ 2015-07-19 22:02 Philip Oakley
  2015-07-20  1:09 ` Eric Sunshine
  0 siblings, 1 reply; 6+ messages in thread
From: Philip Oakley @ 2015-07-19 22:02 UTC (permalink / raw)
  To: Git List

I've been using git-send-email with repeated individual --cc="email 
address" parameters on the command line.

I tried putting all the addresses, one per line, into a file 'cc-cmd', 
so I could use if for the --cc-cmd option.

I then tried to use --cc-cmd='cat cc-cmd' to do the send-email (as 
a --dry-run). This produced, as part of the output, a list of the output 
of the cc-cmd, which showed not only the file contents, but this was 
then followed by the full patch, as if it was part of the list of email 
addresses.

Finally, at the end of the inclusion of the patch, I got

(cc-cmd) Adding cc: -- from: 'cat cc-cmd'
(cc-cmd) Adding cc: 2.4.2.windows.1.5.gd32afb6 from: 'cat cc-cmd'
(cc-cmd) Adding cc:  from: 'cat cc-cmd'
error: unable to extract a valid address from:
What to do with this address? ([q]uit|[d]rop|[e]dit):

Could this have been caused by an extra (blank) line at the end of the 
cc-cmd file?

Also, does anyone have an example of a working --cc-cmd option?

(this is on g4w: git version 2.3.1)

Philip 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-07-20 18:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-19 22:02 How to use --cc-cmd in git-send-email? Philip Oakley
2015-07-20  1:09 ` Eric Sunshine
2015-07-20  6:01   ` Philip Oakley
2015-07-20  6:06     ` Eric Sunshine
2015-07-20 14:20       ` Philip Oakley
2015-07-20 18:07         ` Eric Sunshine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).