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

Re: [PATCH] Add 'git format-patch --to=' option and 'format.to' configuration variable.

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 17, 2010, 01:13 UTC
Message-ID
<7vhbpgpsto.fsf@alter.siamese.dyndns.org>
In-Reply-To
<alpine.LNX.2.00.1002171238310.2477@vqena.qenxr.bet.am>
Steven Drake <sdrake@xnet.co.nz> writes:
> Has the same functionality as the '--cc' option and 'format.cc'
> configuration variable but for the "To:" email header.  Half of the code to
> support this was already there.

I don't _mind_ adding such a config (I didn't check the patch text, though), but one thing I don't understand is what kind of workflow do people who use format.cc, format.to, --cc and --to are using.

My impression has always been that you drive your _MUA_ to set these values, and MUAs are either (1) not so cooperating to read these headers from format-patch output and use them to decide where to send mails from, or (2) is a git-send-email which is customizable already per repository so you do not have to do anything funky when running format-patch.

How are you sending your output from format-patch, and how does having To: and Cc: header pregenerated by format-patch help you?

Previous: Steven DrakeNext: Steven Drake
Message 2 of 7 in “Add 'git format-patch --to=' option and 'format.to' configuration variable.”
  1. Add 'git format-patch --to=' option and 'format.to' configuration variable.Steven Drake, Feb 16, 2010
  2. Junio C HamanoFeb 17, 2010
  3. Steven DrakeFeb 17, 2010
  4. Junio C HamanoFeb 17, 2010
  5. Steven DrakeFeb 17, 2010
  6. Junio C HamanoFeb 17, 2010
  7. Peter KreftingFeb 18, 2010

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.