Skip to contentSkip to conversation

doc: remove unnecessary comma in git-rm documentation

PATCH Superseded parovozik 2 participants 7 messages Sep 23 – Oct 1 Documentation

lore
Share & tools
lore

parovozik

author
#0 lore raw

PATCH 1/1 doc: remove unnecessary comma in git-rm documentation

---
 Documentation/git-rm.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/git-rm.adoc +1 -1
index b5ead86796..67061e961f 100644
@@ -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`::
Signature · 1 line
2.52.0.windows.1
#1 lore raw
Quoted 1 line · parovozik

Documentation/SubmittingPatches::[[real-name]]

Quoted 3 lines
---
 Documentation/git-rm.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
$ git grep -C1 'separate command-line' Documentation/

shows that ...

Documentation/git-rm.adoc For more details, see the _<pathspec>_ entry in linkgit:gitglossary[7]. · line 65

Quoted 11 lines
Documentation/git-rm.adoc +1 -1
index b5ead86796..67061e961f 100644
@@ -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.

Quoted 2 lines
Documentation/git-rm.adoc +0 -0
 `--cached`::
author
#2 lore raw

PATCH v2 1/1 doc: remove unnecessary commas in git-add and git-rm documentation

---
 Documentation/git-add.adoc | 2 +-
 Documentation/git-rm.adoc  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/git-add.adoc +1 -1
index 16b06e38e1..3fc2513a2d 100644
@@ -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).
 
 
Documentation/git-rm.adoc +1 -1
index b5ead86796..67061e961f 100644
@@ -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`::
Signature · 1 line
2.52.0.windows.1
#3 lore raw

Re: [PATCH v2] doc: remove unnecessary commas in git-add and git-rm documentation

parovozik <[email protected]> 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.

Quoted 1 line

Documentation/SubmittingPatches::[[real-name]]; we prefer to see a name that is not a "handle".

Quoted 1 line

---

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.

Quoted 30 lines
 Documentation/git-add.adoc | 2 +-
 Documentation/git-rm.adoc  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/git-add.adoc +1 -1
index 16b06e38e1..3fc2513a2d 100644
@@ -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).
 
 
Documentation/git-rm.adoc +1 -1
index b5ead86796..67061e961f 100644
@@ -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`::
author
#4 lore raw

PATCH v3 1/1 doc: remove unnecessary commas in git-add and git-rm documentation

---
 Documentation/git-add.adoc | 2 +-
 Documentation/git-rm.adoc  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/git-add.adoc +1 -1
index 16b06e38e1..3fc2513a2d 100644
@@ -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).
 
 
Documentation/git-rm.adoc +1 -1
index b5ead86796..67061e961f 100644
@@ -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`::
Signature · 1 line
2.52.0.windows.1
author
#5 lore raw

PATCH v4 1/1 doc: remove unnecessary commas in git-add and git-rm documentation

In reply to Junio C Hamano

---
Changes since v3:
- Add changes description.

Changes since v2:
- Use real name in Signed-off-by (sorry, handle before).

Changes since v1:
- Also fix the same text in git-add.adoc, so that both files stay in sync.

 Documentation/git-add.adoc | 2 +-
 Documentation/git-rm.adoc  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/git-add.adoc +1 -1
index 16b06e38e1..3fc2513a2d 100644
@@ -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).
 
 
Documentation/git-rm.adoc +1 -1
index b5ead86796..67061e961f 100644
@@ -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`::
Signature · 1 line
2.52.0.windows.1
#6 lore raw

Re: [PATCH v4] doc: remove unnecessary commas in git-add and git-rm documentation

Quoted 2 lines · Khan Zimov

---

Thanks. Both changes look good. Let me mark the topic for 'next'.

Quoted 26 lines
Documentation/git-add.adoc +1 -1
index 16b06e38e1..3fc2513a2d 100644
@@ -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).
 
 
Documentation/git-rm.adoc +1 -1
index b5ead86796..67061e961f 100644
@@ -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`::