Skip to contentSkip to conversation

docs/interpret-trailers: fix agreement error

PATCH Superseded brian m. carlson 3 participants 6 messages Feb 8, 2018 – Feb 13, 2018 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs/interpret-trailers: fix agreement error

In the description of git interpret-trailers, we describe "a group…of lines" that have certain characteristics. Because the first option uses a plural verb (referring to "lines"), the second option must also use plural verbs for parallelism.

---
I'm somewhat on the fence about this patch. To me, the number disagreement is very jarring. However, I'm also sympathetic to the fact that the latter sentence reads more naturally in the singular.

Opinions on improvements welcome.

 Documentation/git-interpret-trailers.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/git-interpret-trailers.txt +2 -2
index 9dd19a1dd9..de5011e564 100644
@@ -51,8 +51,8 @@ with only spaces at the end of the commit message part, one blank line
 will be added before the new trailer.
 
 Existing trailers are extracted from the input message by looking for
-a group of one or more lines that (i) are all trailers, or (ii) contains at
-least one Git-generated or user-configured trailer and consists of at
+a group of one or more lines that (i) are all trailers, or (ii) contain at
+least one Git-generated or user-configured trailer and consist of at
 least 25% trailers.
 The group must be preceded by one or more empty (or whitespace-only) lines.
 The group must either be at the end of the message or be the last
#1 lore raw

Documentation/git-interpret-trailers.txt with only spaces at the end of the commit message part, one blank line · line 58

Quoted 8 lines · On Thu, 8 Feb 2018 02:56:14 +0000 "brian m. carlson"…

Existing trailers are extracted from the input message by looking for

Documentation/git-interpret-trailers.txt +2 -2
-a group of one or more lines that (i) are all trailers, or (ii) contains at
-least one Git-generated or user-configured trailer and consists of at
+a group of one or more lines that (i) are all trailers, or (ii) contain at
+least one Git-generated or user-configured trailer and consist of at
 least 25% trailers.
 The group must be preceded by one or more empty (or whitespace-only) lines.
 The group must either be at the end of the message or be the last

Ah, good catch. Maybe "a group of one or more lines that (i) consists of all trailers, or (ii) contains ..."?

I'm also OK with the patch as-is.

#2 lore raw
Quoted 14 lines · Jonathan Tan

Documentation/git-interpret-trailers.txt with only spaces at the end of the commit message part, one blank line · line 58

Quoted 8 lines · On Thu, 8 Feb 2018 02:56:14 +0000 "brian m. carlson"…

Existing trailers are extracted from the input message by looking for

Documentation/git-interpret-trailers.txt +2 -2
-a group of one or more lines that (i) are all trailers, or (ii) contains at
-least one Git-generated or user-configured trailer and consists of at
+a group of one or more lines that (i) are all trailers, or (ii) contain at
+least one Git-generated or user-configured trailer and consist of at
 least 25% trailers.
 The group must be preceded by one or more empty (or whitespace-only) lines.
 The group must either be at the end of the message or be the last

Ah, good catch. Maybe "a group of one or more lines that (i) consists of all trailers, or (ii) contains ..."?

Your version reads better perhaps because it talks about "a group" without placing undue stress on the fact that the member of the group are usually multiple---I guess it is better over Brian's?

#3 lore raw
Quoted 17 lines · Junio C Hamano
Quoted 14 lines · Jonathan Tan

Documentation/git-interpret-trailers.txt with only spaces at the end of the commit message part, one blank line · line 58

Quoted 8 lines · On Thu, 8 Feb 2018 02:56:14 +0000 "brian m. carlson"…

Existing trailers are extracted from the input message by looking for

Documentation/git-interpret-trailers.txt +2 -2
-a group of one or more lines that (i) are all trailers, or (ii) contains at
-least one Git-generated or user-configured trailer and consists of at
+a group of one or more lines that (i) are all trailers, or (ii) contain at
+least one Git-generated or user-configured trailer and consist of at
 least 25% trailers.
 The group must be preceded by one or more empty (or whitespace-only) lines.
 The group must either be at the end of the message or be the last

Ah, good catch. Maybe "a group of one or more lines that (i) consists of all trailers, or (ii) contains ..."?

Quoted 3 lines

Your version reads better perhaps because it talks about "a group" without placing undue stress on the fact that the member of the group are usually multiple---I guess it is better over Brian's?

I'm happy to make the change to be all singular instead.

Signature · 3 lines
brian m. carlson / brian with sandals: Houston, Texas, US
https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: https://keybase.io/bk2204
#4 lore raw

PATCH v2 1/1 docs/interpret-trailers: fix agreement error

In reply to brian m. carlson

In the description of git interpret-trailers, we describe "a group…of lines" that have certain characteristics. Ensure both options describing this group use a singular verb for parallelism.

---
 Documentation/git-interpret-trailers.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/git-interpret-trailers.txt +1 -1
index 9dd19a1dd9..ff446f15f7 100644
@@ -51,7 +51,7 @@ with only spaces at the end of the commit message part, one blank line
 will be added before the new trailer.
 
 Existing trailers are extracted from the input message by looking for
-a group of one or more lines that (i) are all trailers, or (ii) contains at
+a group of one or more lines that (i) is all trailers, or (ii) contains at
 least one Git-generated or user-configured trailer and consists of at
 least 25% trailers.
 The group must be preceded by one or more empty (or whitespace-only) lines.
#5 lore raw
Quoted 14 lines · On Tue, 13 Feb 2018 02:23:52 +0000 "brian m. carlson"…

In the description of git interpret-trailers, we describe "a group…of lines" that have certain characteristics. Ensure both options describing this group use a singular verb for parallelism.

---
 Documentation/git-interpret-trailers.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/git-interpret-trailers.txt +0 -0
index 9dd19a1dd9..ff446f15f7 100644

Documentation/git-interpret-trailers.txt with only spaces at the end of the commit message part, one blank line · line 57

Quoted 8 lines
Documentation/git-interpret-trailers.txt +1 -1
@@ -51,7 +51,7 @@ with only spaces at the end of the commit message part, one blank line
 will be added before the new trailer.
 
 Existing trailers are extracted from the input message by looking for
-a group of one or more lines that (i) are all trailers, or (ii) contains at
+a group of one or more lines that (i) is all trailers, or (ii) contains at
 least one Git-generated or user-configured trailer and consists of at
 least 25% trailers.
 The group must be preceded by one or more empty (or whitespace-only) lines.

This looks good to me, thanks.