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
Peter Krefting <peter@softwolves.pp.se>
Date
Feb 18, 2010, 10:15 UTC
Message-ID
<alpine.DEB.2.00.1002181108020.11095@ds9.cixit.se>
In-Reply-To
<7vhbpgpsto.fsf@alter.siamese.dyndns.org>
Junio C Hamano:
> How are you sending your output from format-patch, and how does having To: 
> and Cc: header pregenerated by format-patch help you?
The patches I have sent to the list have all been sent using
   git format-patch something
   $EDITOR *.patch # remove mbox header, and add To:
   for file in *.patch ; do sendmail -t < $file ; done

as every attempt I have done to send them through Alpine or other MUAs have failed horribly.

I haven't minded having to edit the patch files manually (since I have also visually inspected the patch files in the process), but being able to add the To: line for the list automatically for each of the patches lessens the risk of misspelling or missing it completely when fixing the patches up.

-- 
\\// Peter - http://www.softwolves.pp.se/
Previous: Junio C Hamano
Message 7 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.