git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git send-email could check for no To: line

From
MWMatthew Wilcox <willy@infradead.org>
Date
Dec 6, 2017, 01:06 UTC
Message-ID
<20171206010613.GJ26021@bombadil.infradead.org>

I keep coming up with new and innovative ways to send stupid-looking emails with git send-email. Please save me from myself.

My latest SNAFU is to spend so much time setting up the 'cc' list in the git-format-patch step that I completely forgot to put anybody on the 'to' line, and even being prompted by git send-email that I might want to add somebody to the 'To' line wasn't enough.

Could there be an extra confirmation, perhaps in send_message() that
        if ($cc ne '' && $to eq '')
		are_you_sure()
(you don't want me writing perl.  you really don't.)
Message 1 of 1 in “git send-email could check for no To: line”
  1. Matthew WilcoxDec 6, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.