<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\r
<head>\r
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\r
-<meta name="generator" content="AsciiDoc 7.0.1" />\r
+<meta name="generator" content="AsciiDoc 7.0.2" />\r
<style type="text/css">\r
/* Debug borders */\r
p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {\r
<h2>SYNOPSIS</h2>\r
<div class="sectionbody">\r
<div class="verseblock">\r
-<div class="content"><em>git-format-patch</em> [-n | -k] [-o <dir> | --stdout] [-s] [-c] [--mbox]\r
+<div class="content"><em>git-format-patch</em> [-n | -k] [-o <dir> | --stdout] [-s] [-c]\r
[--diff-options] <his> [<mine>]</div></div>\r
</div>\r
<h2>DESCRIPTION</h2>\r
<div class="sectionbody">\r
<p>Prepare each commit with its patch since <mine> head forked from\r
-<his> head, one file per patch, for e-mail submission. Each\r
-output file is numbered sequentially from 1, and uses the first\r
-line of the commit message (massaged for pathname safety) as the\r
-filename.</p>\r
-<p>When -o is specified, output files are created in that\r
-directory; otherwise in the current working directory.</p>\r
+<his> head, one file per patch formatted to resemble UNIX mailbox\r
+format, for e-mail submission or use with <a href="git-am.html">git-am(1)</a>.</p>\r
+<p>Each output file is numbered sequentially from 1, and uses the\r
+first line of the commit message (massaged for pathname safety)\r
+as the filename.</p>\r
+<p>When -o is specified, output files are created in <dir>; otherwise\r
+they are created in the current working directory. This option\r
+is ignored if --stdout is specified.</p>\r
<p>When -n is specified, instead of "[PATCH] Subject", the first\r
line is formatted as "[PATCH N/M] Subject", unless you have only\r
one patch.</p>\r
-<p>When --mbox is specified, the output is formatted to resemble\r
-UNIX mailbox format, and can be concatenated together for\r
-processing with applymbox.</p>\r
</div>\r
<h2>OPTIONS</h2>\r
<div class="sectionbody">\r
</p>\r
</dd>\r
<dt>\r
--a|--author, -d|--date\r
-</dt>\r
-<dd>\r
-<p>\r
- Output From: and Date: headers for commits made by\r
- yourself as well. Usually these are output only for\r
- commits made by people other than yourself.\r
-</p>\r
-</dd>\r
-<dt>\r
-s|--signoff\r
</dt>\r
<dd>\r
</p>\r
</dd>\r
<dt>\r
--m|--mbox\r
-</dt>\r
-<dd>\r
-<p>\r
- Format the output files for closer to mbox format by\r
- adding a phony Unix "From " line, so they can be\r
- concatenated together and fed to <tt>git-applymbox</tt>.\r
- Implies --author and --date.\r
-</p>\r
-</dd>\r
-<dt>\r
--stdout\r
</dt>\r
<dd>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 06-Jan-2006 17:12:29 PDT\r
+Last updated 07-Feb-2006 10:24:33 UTC\r
</div>\r
</div>\r
</body>\r
SYNOPSIS
--------
[verse]
-'git-format-patch' [-n | -k] [-o <dir> | --stdout] [-s] [-c] [--mbox]
+'git-format-patch' [-n | -k] [-o <dir> | --stdout] [-s] [-c]
[--diff-options] <his> [<mine>]
DESCRIPTION
-----------
Prepare each commit with its patch since <mine> head forked from
-<his> head, one file per patch, for e-mail submission. Each
-output file is numbered sequentially from 1, and uses the first
-line of the commit message (massaged for pathname safety) as the
-filename.
+<his> head, one file per patch formatted to resemble UNIX mailbox
+format, for e-mail submission or use with gitlink:git-am[1].
-When -o is specified, output files are created in that
-directory; otherwise in the current working directory.
+Each output file is numbered sequentially from 1, and uses the
+first line of the commit message (massaged for pathname safety)
+as the filename.
+
+When -o is specified, output files are created in <dir>; otherwise
+they are created in the current working directory. This option
+is ignored if --stdout is specified.
When -n is specified, instead of "[PATCH] Subject", the first
line is formatted as "[PATCH N/M] Subject", unless you have only
one patch.
-When --mbox is specified, the output is formatted to resemble
-UNIX mailbox format, and can be concatenated together for
-processing with applymbox.
-
OPTIONS
-------
Do not strip/add '[PATCH]' from the first line of the
commit log message.
--a|--author, -d|--date::
- Output From: and Date: headers for commits made by
- yourself as well. Usually these are output only for
- commits made by people other than yourself.
-
-s|--signoff::
Add `Signed-off-by:` line to the commit message, using
the committer identity of yourself.
has a SP character immediately followed by a TAB
character.
--m|--mbox::
- Format the output files for closer to mbox format by
- adding a phony Unix "From " line, so they can be
- concatenated together and fed to `git-applymbox`.
- Implies --author and --date.
-
--stdout::
This flag generates the mbox formatted output to the
standard output, instead of saving them into a file per