Skip to content

Commit 992221d

Browse files
committed
Merge branch 'db/cover-letter'
* db/cover-letter: Improve collection of information for format-patch --cover-letter Add API access to shortlog t4014: Replace sed's non-standard 'Q' by standard 'q' Support a --cc=<email> option in format-patch Combine To: and Cc: headers Fix format.headers not ending with a newline Add tests for extra headers in format-patch Add a --cover-letter option to format-patch Export some email and pretty-printing functions Improve message-id generation flow control for format-patch Add more tests for format-patch Conflicts: builtin-log.c builtin-shortlog.c pretty.c
2 parents cb99be7 + 2bda2cf commit 992221d

12 files changed

+699
-234
lines changed

Documentation/git-format-patch.txt

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ SYNOPSIS
1010
--------
1111
[verse]
1212
'git-format-patch' [-k] [-o <dir> | --stdout] [--thread]
13-
[--attach[=<boundary>] | --inline[=<boundary>]]
14-
[-s | --signoff] [<common diff options>]
15-
[-n | --numbered | -N | --no-numbered]
16-
[--start-number <n>] [--numbered-files]
17-
[--in-reply-to=Message-Id] [--suffix=.<sfx>]
18-
[--ignore-if-in-upstream]
19-
[--subject-prefix=Subject-Prefix]
13+
[--attach[=<boundary>] | --inline[=<boundary>]]
14+
[-s | --signoff] [<common diff options>]
15+
[-n | --numbered | -N | --no-numbered]
16+
[--start-number <n>] [--numbered-files]
17+
[--in-reply-to=Message-Id] [--suffix=.<sfx>]
18+
[--ignore-if-in-upstream]
19+
[--subject-prefix=Subject-Prefix]
20+
[--cc=<email>]
21+
[--cover-letter]
2022
[ <since> | <revision range> ]
2123

2224
DESCRIPTION
@@ -135,6 +137,15 @@ include::diff-options.txt[]
135137
allows for useful naming of a patch series, and can be
136138
combined with the --numbered option.
137139

140+
--cc=<email>::
141+
Add a "Cc:" header to the email headers. This is in addition
142+
to any configured headers, and may be used multiple times.
143+
144+
--cover-letter::
145+
Generate a cover letter template. You still have to fill in
146+
a description, but the shortlog and the diffstat will be
147+
generated for you.
148+
138149
--suffix=.<sfx>::
139150
Instead of using `.patch` as the suffix for generated
140151
filenames, use specified suffix. A common alternative is

0 commit comments

Comments
 (0)