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

[PATCH] Documentation: Note file formats send-email accepts

From
Todd Zullinger <tmz@pobox.com>
Date
Feb 19, 2009, 03:51 UTC
Message-ID
<20090219035106.GG4505@inocybe.teonanacatl.org>
Signed-off-by: Todd Zullinger <tmz@pobox.com>
---

These formats are noted in the git-send-email.perl script, but not mentioned in the documentation anywhere. I debated adding a note that the mbox format was generally preferred, but I wasn't sure if that was important or appropriate. I felt that I had bloated the Description section enough already. :)

I hope that I got the aciidoc punctuation correct. When to use '' versus `` wasn't entirely clear. So I made like a chamealeon and tried to emulate what was nearby.

This was spurred by a bug report against the Fedora git packages:
    https://bugzilla.redhat.com/486103
 Documentation/git-send-email.txt |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index ff4aeff..66bf3b2 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -19,6 +19,19 @@ The header of the email is configurable by command line options.  If not
 specified on the command line, the user will be prompted with a ReadLine
 enabled interface to provide the necessary information.

+There are two formats accepted for patch files:
+
+1. mbox format files
++
+This is what linkgit:git-format-patch[1] generates.  Most headers and MIME
+formatting are ignored.
+
+2. The original format used by Greg Kroah-Hartman's 'send_lots_of_email.pl'
+script
++
+This format expects the first line of the file to contain the "Cc:" value
+and the "Subject:" of the message as the second line.
+

 OPTIONS
 -------
-- 
1.6.1.3

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Most people would sooner die than think; in fact, they do so.
    -- Bertrand Russell (1872-1970)
Next: Greg KH
Message 1 of 2 in “Documentation: Note file formats send-email accepts”
  1. Documentation: Note file formats send-email acceptsTodd Zullinger, Feb 19, 2009
  2. Greg KHFeb 21, 2009

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.