doc: git-format-patch: describe the option --always
This commit has described how to use '--always' option in the command 'git-format-patch' to include patches for commits that emit no changes. Signed-off-by: 徐沛文 (Aleen) <aleen42@vip.qq.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
徐沛文 (Aleen) committed
Dec 9, 2021 at 07:25 UTC
552038e26cfa2a1b5a7843567ca7ab39a573951f
1 file changed
+5
-1
Documentation/git-format-patch.txt
+5
-1
@@ -18,7 +18,7 @@ SYNOPSIS
18
[-n | --numbered | -N | --no-numbered]
19
[--start-number <n>] [--numbered-files]
20
[--in-reply-to=<message id>] [--suffix=.<sfx>]
21
- [--ignore-if-in-upstream]
21
+ [--ignore-if-in-upstream] [--always]
22
[--cover-from-description=<mode>]
23
[--rfc] [--subject-prefix=<subject prefix>]
24
[(--reroll-count|-v) <n>]
@@ -192,6 +192,10 @@ will want to ensure that threading is disabled for `git send-email`.
192
patches being generated, and any patch that matches is
193
ignored.
194
195
+--always::
196
+ Include patches for commits that do not introduce any change,
197
+ which are omitted by default.
198
+
199
--cover-from-description=<mode>::
200
Controls which parts of the cover letter will be automatically
201
populated using the branch's description.