summaryrefslogtreecommitdiffstats
path: root/git-format-patch.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2009-07-23 06:20:29 +0000
committerJunio C Hamano <junio@hera.kernel.org>2009-07-23 06:20:29 +0000
commit1bbd0f421645c0e5b4a5a9749c0d3e44d55e005d (patch)
tree2fe7652a7f0558b0cee47d363e77e34c218e2d2b /git-format-patch.txt
parentf7151d58dd0018b6e7776b271194114488681397 (diff)
downloadgit-htmldocs-1bbd0f421645c0e5b4a5a9749c0d3e44d55e005d.tar.gz
Autogenerated HTML docs for v1.6.4-rc2
Diffstat (limited to 'git-format-patch.txt')
-rw-r--r--git-format-patch.txt22
1 files changed, 15 insertions, 7 deletions
diff --git a/git-format-patch.txt b/git-format-patch.txt
index 6f1fc8011..687e66759 100644
--- a/git-format-patch.txt
+++ b/git-format-patch.txt
@@ -10,7 +10,7 @@ SYNOPSIS
--------
[verse]
'git format-patch' [-k] [(-o|--output-directory) <dir> | --stdout]
- [--thread[=<style>]]
+ [--no-thread | --thread[=<style>]]
[(--attach|--inline)[=<boundary>] | --no-attach]
[-s | --signoff]
[-n | --numbered | -N | --no-numbered]
@@ -124,17 +124,25 @@ include::diff-options.txt[]
second part, with "Content-Disposition: inline".
--thread[=<style>]::
- Add In-Reply-To and References headers to make the second and
- subsequent mails appear as replies to the first. Also generates
- the Message-Id header to reference.
+--no-thread::
+ Controls addition of In-Reply-To and References headers to
+ make the second and subsequent mails appear as replies to the
+ first. Also controls generation of the Message-Id header to
+ reference.
+
The optional <style> argument can be either `shallow` or `deep`.
'shallow' threading makes every mail a reply to the head of the
series, where the head is chosen from the cover letter, the
`\--in-reply-to`, and the first patch mail, in this order. 'deep'
-threading makes every mail a reply to the previous one. If not
-specified, defaults to the 'format.thread' configuration, or `shallow`
-if that is not set.
+threading makes every mail a reply to the previous one.
++
+The default is --no-thread, unless the 'format.thread' configuration
+is set. If --thread is specified without a style, it defaults to the
+style specified by 'format.thread' if any, or else `shallow`.
++
+Beware that the default for 'git send-email' is to thread emails
+itself. If you want 'git format-patch' to take care of hreading, you
+will want to ensure that threading is disabled for 'git send-email'.
--in-reply-to=Message-Id::
Make the first mail (or all the mails with --no-thread) appear as a