Skip to content

Commit 552038e

Browse files
aleen42gitster
authored andcommitted
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) <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent cd3e606 commit 552038e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Documentation/git-format-patch.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ SYNOPSIS
1818
[-n | --numbered | -N | --no-numbered]
1919
[--start-number <n>] [--numbered-files]
2020
[--in-reply-to=<message id>] [--suffix=.<sfx>]
21-
[--ignore-if-in-upstream]
21+
[--ignore-if-in-upstream] [--always]
2222
[--cover-from-description=<mode>]
2323
[--rfc] [--subject-prefix=<subject prefix>]
2424
[(--reroll-count|-v) <n>]
@@ -192,6 +192,10 @@ will want to ensure that threading is disabled for `git send-email`.
192192
patches being generated, and any patch that matches is
193193
ignored.
194194

195+
--always::
196+
Include patches for commits that do not introduce any change,
197+
which are omitted by default.
198+
195199
--cover-from-description=<mode>::
196200
Controls which parts of the cover letter will be automatically
197201
populated using the branch's description.

0 commit comments

Comments
 (0)