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

[PATCH 0/4] format-patch header improvements, --cc

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Feb 19, 2008, 07:40 UTC
Message-ID
<alpine.LNX.1.00.0802190227500.5816@iabervon.org>
This series improves the handling of extra headers in format-patch:
 - extra headers should get tested in the test suite
 - it shouldn't be necessary to have \n in the config file in order to 
   have multiple extra headers. (It's actually challenging to test having 
   newlines in values in the config file, let alone set things up that way 
   for an end user...)
 - multiple "to:" headers, or multiple "cc:" headers should be combined by 
   the program, without requiring the user to do it.

Finally, the series adds a --cc=<email> option, which can be used to CC people who are reviewing this particular series and may not be interested in your patches in general otherwise.

This series is based on the cover-letter series, but the changes are actually independant; they are just adjacent to each other, and generate a lot of conflicts if applied separately and merged.

I messed up some extra whitespace initially, corrected it in the patches, but didn't regenerate the cover letter, so the diffstat will be off by two blank lines not actually added.

Daniel Barkalow (4):
      Add tests for extra headers in format-patch
      Fix format.headers not ending with a newline
      Combine To: and Cc: headers
      Support a --cc=<email> option in format-patch
 Documentation/git-format-patch.txt |    5 ++
 builtin-log.c                      |   80 +++++++++++++++++++++++++++++++----
 t/t4014-format-patch.sh            |   42 +++++++++++++++++++
 3 files changed, 117 insertions(+), 10 deletions(-)
Message 1 of 1 in “format-patch header improvements, --cc”
  1. 0/4 format-patch header improvements, --ccDaniel Barkalow, Feb 19, 2008

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.