Volume XXII, number 280Wednesday, October 7, 2026Latest message 3 hours ago

The Git List

News and archive of git@vger.kernel.org, since April 2005

patchDocumentation: remove redundant 'instead' in --subject-prefix

2 messages between Jun 4, 2026 and Jun 5, 2026, from Lucas Seiki Oshiro, Weijie Yuan.

Plain Markdown or JSON for tools and agents. Diffs are folded; open one to read it.

Lucas Seiki OshiroJun 4, 2026, 16:34 UTC on lore

The documentation for --subject-prefix has two words "instead" in the same sentence, making it a little bit confusing to read.

Change the order of the phrase to a more natural "Use [...] instead of [...]" structure.

Signed-off-by: Lucas Seiki Oshiro <lucasseikioshiro@gmail.com>
---
 Documentation/git-format-patch.adoc | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
Show changes to Documentation/git-format-patch.adoc +3 −4
diff --git a/Documentation/git-format-patch.adoc b/Documentation/git-format-patch.adoc
index 5662382450..f7905c0f7c 100644
--- a/Documentation/git-format-patch.adoc
+++ b/Documentation/git-format-patch.adoc
@@ -221,10 +221,9 @@ populated with placeholder text.
 	for generating the cover letter.
 
 --subject-prefix=<subject-prefix>::
-	Instead of the standard '[PATCH]' prefix in the subject
-	line, instead use '[<subject-prefix>]'. This can be used
-	to name a patch series, and can be combined with the
-	`--numbered` option.
+	Use '[<subject-prefix>]' instead of the standard '[PATCH]'
+	prefix in the subject line. This can be used to name a patch
+	series, and can be combined with the `--numbered` option.
 +
 The configuration variable `format.subjectPrefix` may also be used
 to configure a subject prefix to apply to a given repository for
-- 
2.50.1 (Apple Git-155)
Weijie YuanJun 5, 2026, 04:11 UTC in reply to Lucas Seiki Oshiro on lore

Re: [PATCH] Documentation: remove redundant 'instead' in --subject-prefix

On Thu, Jun 04, 2026 at 01:34:42PM -0300, Lucas Seiki Oshiro wrote:
Show 8 quoted lines
>  --subject-prefix=<subject-prefix>::
> -	Instead of the standard '[PATCH]' prefix in the subject
> -	line, instead use '[<subject-prefix>]'. This can be used
> -	to name a patch series, and can be combined with the
> -	`--numbered` option.
> +	Use '[<subject-prefix>]' instead of the standard '[PATCH]'
> +	prefix in the subject line. This can be used to name a patch
> +	series, and can be combined with the `--numbered` option.
Agreed, this reads more smoothly.

Back to recent threads