diff --git a/Documentation/git-rm.adoc b/Documentation/git-rm.adoc
index b5ead86796..67061e961f 100644
--- a/Documentation/git-rm.adoc
+++ b/Documentation/git-rm.adoc
@@ -61,7 +61,7 @@ For more details, see the _<pathspec>_ entry in linkgit:gitglossary[7].
`--`::
This option can be used to separate command-line options from
- the list of files, (useful when filenames might be mistaken
+ the list of files (useful when filenames might be mistaken
for command-line options).
`--cached`::
--
2.52.0.windows.1
Junio C HamanoSep 23, 2026, 22:00 UTC in reply to parovozikon lore
Re: [PATCH] doc: remove unnecessary comma in git-rm documentation
> diff --git a/Documentation/git-rm.adoc b/Documentation/git-rm.adoc
> index b5ead86796..67061e961f 100644
> --- a/Documentation/git-rm.adoc
> +++ b/Documentation/git-rm.adoc
> @@ -61,7 +61,7 @@ For more details, see the _<pathspec>_ entry in linkgit:gitglossary[7].
>
> `--`::
> This option can be used to separate command-line options from
> - the list of files, (useful when filenames might be mistaken
> + the list of files (useful when filenames might be mistaken
> for command-line options).
... an identical text appears once more elsewhere. It would be a good idea to keep them in sync.
diff --git a/Documentation/git-add.adoc b/Documentation/git-add.adoc
index 16b06e38e1..3fc2513a2d 100644
--- a/Documentation/git-add.adoc
+++ b/Documentation/git-add.adoc
@@ -223,7 +223,7 @@ for `git add --no-all <pathspec>...`, i.e. ignored removed files.
`--`::
This option can be used to separate command-line options from
- the list of files, (useful when filenames might be mistaken
+ the list of files (useful when filenames might be mistaken
for command-line options).
diff --git a/Documentation/git-rm.adoc b/Documentation/git-rm.adoc
index b5ead86796..67061e961f 100644
--- a/Documentation/git-rm.adoc
+++ b/Documentation/git-rm.adoc
@@ -61,7 +61,7 @@ For more details, see the _<pathspec>_ entry in linkgit:gitglossary[7].
`--`::
This option can be used to separate command-line options from
- the list of files, (useful when filenames might be mistaken
+ the list of files (useful when filenames might be mistaken
for command-line options).
`--cached`::
--
2.52.0.windows.1
Junio C HamanoSep 24, 2026, 16:20 UTC in reply to parovozikon lore
Re: [PATCH v2] doc: remove unnecessary commas in git-add and git-rm documentation
parovozik <kaliugov@gmail.com> writes:
Here at the top of the message before your sign-off can be left blank for a trivial change like this patch whose motivation is so obviously good and whose correctness is so clear.
> Signed-off-by: parovozik <kaliugov@gmail.com>
Documentation/SubmittingPatches::[[real-name]]; we prefer to see a name that is not a "handle".
> ---
For a single-patch topic, here under the three-dash line is where you describe what improvements were made relative to previous iteration(s) of your work.
Show 30 quoted lines
> Documentation/git-add.adoc | 2 +-
> Documentation/git-rm.adoc | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/git-add.adoc b/Documentation/git-add.adoc
> index 16b06e38e1..3fc2513a2d 100644
> --- a/Documentation/git-add.adoc
> +++ b/Documentation/git-add.adoc
> @@ -223,7 +223,7 @@ for `git add --no-all <pathspec>...`, i.e. ignored removed files.
>
> `--`::
> This option can be used to separate command-line options from
> - the list of files, (useful when filenames might be mistaken
> + the list of files (useful when filenames might be mistaken
> for command-line options).
>
>
> diff --git a/Documentation/git-rm.adoc b/Documentation/git-rm.adoc
> index b5ead86796..67061e961f 100644
> --- a/Documentation/git-rm.adoc
> +++ b/Documentation/git-rm.adoc
> @@ -61,7 +61,7 @@ For more details, see the _<pathspec>_ entry in linkgit:gitglossary[7].
>
> `--`::
> This option can be used to separate command-line options from
> - the list of files, (useful when filenames might be mistaken
> + the list of files (useful when filenames might be mistaken
> for command-line options).
>
> `--cached`::
diff --git a/Documentation/git-add.adoc b/Documentation/git-add.adoc
index 16b06e38e1..3fc2513a2d 100644
--- a/Documentation/git-add.adoc
+++ b/Documentation/git-add.adoc
@@ -223,7 +223,7 @@ for `git add --no-all <pathspec>...`, i.e. ignored removed files.
`--`::
This option can be used to separate command-line options from
- the list of files, (useful when filenames might be mistaken
+ the list of files (useful when filenames might be mistaken
for command-line options).
diff --git a/Documentation/git-rm.adoc b/Documentation/git-rm.adoc
index b5ead86796..67061e961f 100644
--- a/Documentation/git-rm.adoc
+++ b/Documentation/git-rm.adoc
@@ -61,7 +61,7 @@ For more details, see the _<pathspec>_ entry in linkgit:gitglossary[7].
`--`::
This option can be used to separate command-line options from
- the list of files, (useful when filenames might be mistaken
+ the list of files (useful when filenames might be mistaken
for command-line options).
`--cached`::
diff --git a/Documentation/git-add.adoc b/Documentation/git-add.adoc
index 16b06e38e1..3fc2513a2d 100644
--- a/Documentation/git-add.adoc
+++ b/Documentation/git-add.adoc
@@ -223,7 +223,7 @@ for `git add --no-all <pathspec>...`, i.e. ignored removed files.
`--`::
This option can be used to separate command-line options from
- the list of files, (useful when filenames might be mistaken
+ the list of files (useful when filenames might be mistaken
for command-line options).
diff --git a/Documentation/git-rm.adoc b/Documentation/git-rm.adoc
index b5ead86796..67061e961f 100644
--- a/Documentation/git-rm.adoc
+++ b/Documentation/git-rm.adoc
@@ -61,7 +61,7 @@ For more details, see the _<pathspec>_ entry in linkgit:gitglossary[7].
`--`::
This option can be used to separate command-line options from
- the list of files, (useful when filenames might be mistaken
+ the list of files (useful when filenames might be mistaken
for command-line options).
`--cached`::
Thanks. Both changes look good. Let me mark the topic for 'next'.
Show 26 quoted lines
> diff --git a/Documentation/git-add.adoc b/Documentation/git-add.adoc
> index 16b06e38e1..3fc2513a2d 100644
> --- a/Documentation/git-add.adoc
> +++ b/Documentation/git-add.adoc
> @@ -223,7 +223,7 @@ for `git add --no-all <pathspec>...`, i.e. ignored removed files.
>
> `--`::
> This option can be used to separate command-line options from
> - the list of files, (useful when filenames might be mistaken
> + the list of files (useful when filenames might be mistaken
> for command-line options).
>
>
> diff --git a/Documentation/git-rm.adoc b/Documentation/git-rm.adoc
> index b5ead86796..67061e961f 100644
> --- a/Documentation/git-rm.adoc
> +++ b/Documentation/git-rm.adoc
> @@ -61,7 +61,7 @@ For more details, see the _<pathspec>_ entry in linkgit:gitglossary[7].
>
> `--`::
> This option can be used to separate command-line options from
> - the list of files, (useful when filenames might be mistaken
> + the list of files (useful when filenames might be mistaken
> for command-line options).
>
> `--cached`::