{"thread":{"id":"17884","subject":"[PATCH] Documentation: Note file formats send-email accepts","startedAt":"2009-02-19T03:51:06Z","lastAt":"2009-02-21T00:04:40Z","messageCount":2,"participants":["Todd Zullinger","Greg KH"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"105383","messageId":"20090219035106.GG4505@inocybe.teonanacatl.org","threadId":"17884","inReplyTo":null,"subject":"[PATCH] Documentation: Note file formats send-email accepts","fromName":"Todd Zullinger","fromEmail":"tmz@pobox.com","sentAt":"2009-02-19T03:51:06Z","receivedAt":"2009-02-19T03:51:06Z","isPatch":true,"sender":{"key":"tmz@pobox.com","avatar":"https://avatars.githubusercontent.com/u/806319?v=4"},"body":"\nSigned-off-by: Todd Zullinger <tmz@pobox.com>\n---\n\nThese formats are noted in the git-send-email.perl script, but not\nmentioned in the documentation anywhere.  I debated adding a note that\nthe mbox format was generally preferred, but I wasn't sure if that was\nimportant or appropriate.  I felt that I had bloated the Description\nsection enough already. :)\n\nI hope that I got the aciidoc punctuation correct.  When to use ''\nversus `` wasn't entirely clear.  So I made like a chamealeon and\ntried to emulate what was nearby.\n\nThis was spurred by a bug report against the Fedora git packages:\n\n    https://bugzilla.redhat.com/486103\n\n Documentation/git-send-email.txt |   13 +++++++++++++\n 1 files changed, 13 insertions(+), 0 deletions(-)\n\ndiff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt\nindex ff4aeff..66bf3b2 100644\n--- a/Documentation/git-send-email.txt\n+++ b/Documentation/git-send-email.txt\n@@ -19,6 +19,19 @@ The header of the email is configurable by command line options.  If not\n specified on the command line, the user will be prompted with a ReadLine\n enabled interface to provide the necessary information.\n\n+There are two formats accepted for patch files:\n+\n+1. mbox format files\n++\n+This is what linkgit:git-format-patch[1] generates.  Most headers and MIME\n+formatting are ignored.\n+\n+2. The original format used by Greg Kroah-Hartman's 'send_lots_of_email.pl'\n+script\n++\n+This format expects the first line of the file to contain the \"Cc:\" value\n+and the \"Subject:\" of the message as the second line.\n+\n\n OPTIONS\n -------\n-- \n1.6.1.3\n\n-- \nTodd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nMost people would sooner die than think; in fact, they do so.\n    -- Bertrand Russell (1872-1970)\n"},{"id":"105670","messageId":"20090221000440.GA7258@kroah.com","threadId":"17884","inReplyTo":"20090219035106.GG4505@inocybe.teonanacatl.org","subject":"Re: [PATCH] Documentation: Note file formats send-email accepts","fromName":"Greg KH","fromEmail":"greg@kroah.com","sentAt":"2009-02-21T00:04:40Z","receivedAt":"2009-02-21T00:04:40Z","isPatch":true,"sender":{"key":"greg@kroah.com","avatar":"https://gravatar.com/avatar/5bb5aa0cc2e01c00ec899d11130c07796bc186e465bae57bc34873b13b72c7c8?d=mp&s=160"},"body":"On Wed, Feb 18, 2009 at 10:51:06PM -0500, Todd Zullinger wrote:\n> +There are two formats accepted for patch files:\n> +\n> +1. mbox format files\n> ++\n> +This is what linkgit:git-format-patch[1] generates.  Most headers and MIME\n> +formatting are ignored.\n> +\n> +2. The original format used by Greg Kroah-Hartman's 'send_lots_of_email.pl'\n> +script\n\nYou're kidding me, right?  I really don't believe anyone uses any\npatches in that format, I haven't used that script in so long I just\nnoticed that I didn't even have a copy of it anywhere.\n\nSo if for some reason you are trying to be backwards compatible to my\nold code, don't do it on my behalf.\n\nthanks,\n\ngreg k-h\n"}]}