diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-09-17 16:57:41 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-09-17 16:57:41 -0700 |
commit | 281fd394a268e17e15f0869620a8f8fcaf28fbd1 (patch) | |
tree | 2a23fd9bd63a0c0ab7ecd78e51be240177570fc3 /git-format-patch.txt | |
parent | a3cfb7673d419cac3d57ad89e67537288d20696f (diff) | |
download | git-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.txt | 11 |
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 |