@@ -10,7 +10,7 @@ SYNOPSIS
10
10
--------
11
11
[verse]
12
12
'git format-patch' [-k] [(-o|--output-directory) <dir> | --stdout]
13
- [--thread[=<style>]]
13
+ [--no-thread | -- thread[=<style>]]
14
14
[(--attach|--inline)[=<boundary>] | --no-attach]
15
15
[-s | --signoff]
16
16
[-n | --numbered | -N | --no-numbered]
@@ -124,17 +124,25 @@ include::diff-options.txt[]
124
124
second part, with "Content-Disposition: inline".
125
125
126
126
--thread[=<style>]::
127
- Add In-Reply-To and References headers to make the second and
128
- subsequent mails appear as replies to the first. Also generates
129
- the Message-Id header to reference.
127
+ --no-thread::
128
+ Controls addition of In-Reply-To and References headers to
129
+ make the second and subsequent mails appear as replies to the
130
+ first. Also controls generation of the Message-Id header to
131
+ reference.
130
132
+
131
133
The optional <style> argument can be either `shallow` or `deep`.
132
134
'shallow' threading makes every mail a reply to the head of the
133
135
series, where the head is chosen from the cover letter, the
134
136
`\--in-reply-to`, and the first patch mail, in this order. 'deep'
135
- threading makes every mail a reply to the previous one. If not
136
- specified, defaults to the 'format.thread' configuration, or `shallow`
137
- if that is not set.
137
+ threading makes every mail a reply to the previous one.
138
+ +
139
+ The default is --no-thread, unless the 'format.thread' configuration
140
+ is set. If --thread is specified without a style, it defaults to the
141
+ style specified by 'format.thread' if any, or else `shallow`.
142
+ +
143
+ Beware that the default for 'git send-email' is to thread emails
144
+ itself. If you want 'git format-patch' to take care of hreading, you
145
+ will want to ensure that threading is disabled for 'git send-email'.
138
146
139
147
--in-reply-to=Message-Id::
140
148
Make the first mail (or all the mails with --no-thread) appear as a
0 commit comments