summaryrefslogtreecommitdiffstats
path: root/git-format-patch.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-11-11 13:33:46 +0900
committerJunio C Hamano <gitster@pobox.com>2019-11-11 13:33:46 +0900
commit8ac8a3d8dd001611b77776fa19ef37c2c87cd987 (patch)
treeefa3af5ebd3192b611732553c90c2d9baaa1e398 /git-format-patch.txt
parent79d41dbe0b2fcbbc1cd5f6c188073a0956174289 (diff)
downloadgit-htmldocs-8ac8a3d8dd001611b77776fa19ef37c2c87cd987.tar.gz
Autogenerated HTML docs for v2.24.0-155-gd9f6f
Diffstat (limited to 'git-format-patch.txt')
-rw-r--r--git-format-patch.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/git-format-patch.txt b/git-format-patch.txt
index 2035d4d5d..00bdf9b12 100644
--- a/git-format-patch.txt
+++ b/git-format-patch.txt
@@ -19,6 +19,7 @@ SYNOPSIS
[--start-number <n>] [--numbered-files]
[--in-reply-to=<message id>] [--suffix=.<sfx>]
[--ignore-if-in-upstream]
+ [--cover-from-description=<mode>]
[--rfc] [--subject-prefix=<subject prefix>]
[(--reroll-count|-v) <n>]
[--to=<email>] [--cc=<email>]
@@ -172,6 +173,26 @@ will want to ensure that threading is disabled for `git send-email`.
patches being generated, and any patch that matches is
ignored.
+--cover-from-description=<mode>::
+ Controls which parts of the cover letter will be automatically
+ populated using the branch's description.
++
+If `<mode>` is `message` or `default`, the cover letter subject will be
+populated with placeholder text. The body of the cover letter will be
+populated with the branch's description. This is the default mode when
+no configuration nor command line option is specified.
++
+If `<mode>` is `subject`, the first paragraph of the branch description will
+populate the cover letter subject. The remainder of the description will
+populate the body of the cover letter.
++
+If `<mode>` is `auto`, if the first paragraph of the branch description
+is greater than 100 bytes, then the mode will be `message`, otherwise
+`subject` will be used.
++
+If `<mode>` is `none`, both the cover letter subject and body will be
+populated with placeholder text.
+
--subject-prefix=<subject prefix>::
Instead of the standard '[PATCH]' prefix in the subject
line, instead use '[<subject prefix>]'. This
@@ -348,6 +369,7 @@ with configuration variables.
signOff = true
outputDirectory = <directory>
coverLetter = auto
+ coverFromDescription = auto
------------