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
SDSteven Drake <sdrake@xnet.co.nz>
Date
Feb 17, 2010, 03:11 UTC
Message-ID
<alpine.LNX.2.00.1002171516520.3414@vqena.qenxr.bet.am>
In-Reply-To
<7vhbpgpsto.fsf@alter.siamese.dyndns.org>
On Tue, 16 Feb 2010, Junio C Hamano wrote:
> 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.
In the commit that add '--cc', Daniel Barkalow wrote:
> When you have particular reviewers you want to sent particular series
> to, it's nice to be able to generate the whole series with them as
> additional recipients, without configuring them into your general
> headers or adding them by hand afterwards.
In the commit that added 'format.cc' Miklos Vajna wrote:
> Some projects prefer to always CC patches to a given mailing list. In
> these cases, it's handy to configure that address once.
I think it's weired to have an option & config variable for Cc and not To.
> 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,

Any MUA that does not cooperate with reading the To header is going to give trouble with any header (e.g. Subject, Date).

> 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.
Haven't got around to using git-send-email yet!
> [...] how does having To:
> and Cc: header pregenerated by format-patch help you?
Mostly having to remember/lookup the email address.
-- 
Steven
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 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.