summaryrefslogtreecommitdiffstats
path: root/git-format-patch.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-09-17 16:57:41 -0700
committerJunio C Hamano <gitster@pobox.com>2012-09-17 16:57:41 -0700
commit281fd394a268e17e15f0869620a8f8fcaf28fbd1 (patch)
tree2a23fd9bd63a0c0ab7ecd78e51be240177570fc3 /git-format-patch.txt
parenta3cfb7673d419cac3d57ad89e67537288d20696f (diff)
downloadgit-htmldocs-281fd394a268e17e15f0869620a8f8fcaf28fbd1.tar.gz
Autogenerated HTML docs for v1.7.12-503-g59767
Diffstat (limited to 'git-format-patch.txt')
-rw-r--r--git-format-patch.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/git-format-patch.txt b/git-format-patch.txt
index 04c7346e3..6d43f5627 100644
--- a/git-format-patch.txt
+++ b/git-format-patch.txt
@@ -58,10 +58,13 @@ output, unless the `--stdout` option is specified.
If `-o` is specified, output files are created in <dir>. Otherwise
they are created in the current working directory.
-By default, the subject of a single patch is "[PATCH] First Line" and
-the subject when multiple patches are output is "[PATCH n/m] First
-Line". To force 1/1 to be added for a single patch, use `-n`. To omit
-patch numbers from the subject, use `-N`.
+By default, the subject of a single patch is "[PATCH] " followed by
+the concatenation of lines from the commit message up to the first blank
+line (see the DISCUSSION section of linkgit:git-commit[1]).
+
+When multiple patches are output, the subject prefix will instead be
+"[PATCH n/m] ". To force 1/1 to be added for a single patch, use `-n`.
+To omit patch numbers from the subject, use `-N`.
If given `--thread`, `git-format-patch` will generate `In-Reply-To` and
`References` headers to make the second and subsequent patch mails appear