path: root/Documentation/git-format-patch.txt
diff options
authorJunio C Hamano <>2013-01-02 22:16:07 (GMT)
committerJunio C Hamano <>2013-01-02 22:16:07 (GMT)
commit4aad08e061df699b49e24c4d34698d734473fb66 (patch)
tree87c1ff34565f4eab468d7acd5a561a51faad0f60 /Documentation/git-format-patch.txt
parent5fe10fe80a04a57affbaa35258f498bc1acb05e9 (diff)
format-patch: document and test --reroll-count
Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git-format-patch.txt')
1 files changed, 9 insertions, 1 deletions
diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt
index 6d43f56..736d8bf 100644
--- a/Documentation/git-format-patch.txt
+++ b/Documentation/git-format-patch.txt
@@ -18,7 +18,7 @@ SYNOPSIS
[--start-number <n>] [--numbered-files]
[--in-reply-to=Message-Id] [--suffix=.<sfx>]
- [--subject-prefix=Subject-Prefix]
+ [--subject-prefix=Subject-Prefix] [--reroll-count <n>]
[--to=<email>] [--cc=<email>]
[--cover-letter] [--quiet]
[<common diff options>]
@@ -166,6 +166,14 @@ will want to ensure that threading is disabled for `git send-email`.
allows for useful naming of a patch series, and can be
combined with the `--numbered` option.
+ Mark the series as the <n>-th iteration of the topic. The
+ output filenames have `v<n>` pretended to them, and the
+ subject prefix ("PATCH" by default, but configurable via the
+ `--subject-prefix` option) has ` v<n>` appended to it. E.g.
+ `--reroll-count=4` may produce `v4-0001-add-makefile.patch`
+ file that has "Subject: [PATCH v4 1/20] Add makefile" in it.
Add a `To:` header to the email headers. This is in addition
to any configured headers, and may be used multiple times.