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, 08:14 UTC
Message-ID
<7vhbpg5lf0.fsf@alter.siamese.dyndns.org>
In-Reply-To
<alpine.LNX.2.00.1002171706290.5479@vqena.qenxr.bet.am>
Steven Drake <sdrake@xnet.co.nz> writes:
Show 9 quoted lines
> 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).

Finally. That is the kind of "how somebody would work with format-patch output" I was looking for. Thanks.

> ... I would understand if you wanted to deprecate '--cc' from
> format-patch and 'format.cc' (maybe keep it for backwards compat).
No, you took me wrong.  Deprecation wasn't what I was after.

I wanted to see ways to _positively_ explain what format.{cc,to} are good for. With them, we can eventually have a few examples in EXAMPLES section of the manual page to help users (hint, hint...).

Previous: Steven DrakeNext: Peter Krefting
Message 6 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.