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, 07:33 UTC
Message-ID
<alpine.LNX.2.00.1002171706290.5479@vqena.qenxr.bet.am>
In-Reply-To
<7vhbpgfrqj.fsf@alter.siamese.dyndns.org>
On Tue, 16 Feb 2010, Junio C Hamano wrote:
> I tried to ask you (apparently in a garbled grammar, sorry) what
> your workflow of sending the format-patch output to the outside world is.
 
$ ./git-format-patch --stdout master~5..master~1 >>~/mail/postponed-msgs
$ alpine -I cp
Only problem with doing that is that alpine changes the Date: and
 Message-Id: header (the later being a pain if I used --threaded).

I don't know about other MUA (or how Daniel or Miklos work) but someone could use a command like:

$ git-format-patch --stdout master~5..master~1 | sendmail -bm -t

But in all honesty I don't think it matters whether the headers are set by format-patch or send-email and I would understand if you wanted to deprecate '--cc' from format-patch and 'format.cc' (maybe keep it for backwards compat).

-- 
Steven
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 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.