Grammar fixes to "merge" and "patch-id" docs
PATCH 1/1 Grammar fixes to "merge" and "patch-id" docs
---
Just a few grammar glitches that caught my eye while perusing some man pages.
Documentation/git-merge.txt | 2 +- Documentation/git-patch-id.txt | 2 +- Documentation/merge-strategies.txt | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-)
Documentation/git-merge.txt +1 -1
@@ -41,7 +41,7 @@ include::merge-strategies.txt[] If you tried a merge which resulted in a complex conflicts and -would want to start over, you can recover with 'git-reset'. +want to start over, you can recover with 'git-reset'. CONFIGURATION -------------
Documentation/git-patch-id.txt +1 -1
@@ -20,7 +20,7 @@ IOW, you can use this thing to look for likely duplicate commits. When dealing with 'git-diff-tree' output, it takes advantage of the fact that the patch is prefixed with the object name of the -commit, and outputs two 40-byte hexadecimal string. The first +commit, and outputs two 40-byte hexadecimal strings. The first string is the patch ID, and the second string is the commit ID. This can be used to make a mapping from patch ID to commit ID.
Documentation/merge-strategies.txt +7 -7
@@ -3,15 +3,15 @@ MERGE STRATEGIES resolve:: This can only resolve two heads (i.e. the current branch - and another branch you pulled from) using 3-way merge + and another branch you pulled from) using a 3-way merge algorithm. It tries to carefully detect criss-cross merge ambiguities and is considered generally safe and fast. recursive:: - This can only resolve two heads using 3-way merge - algorithm. When there are more than one common - ancestors that can be used for 3-way merge, it creates a + This can only resolve two heads using a 3-way merge + algorithm. When there is more than one common + ancestor that can be used for 3-way merge, it creates a merged tree of the common ancestors and uses that as the reference tree for the 3-way merge. This has been reported to result in fewer merge conflicts without
@@ -22,11 +22,11 @@ recursive:: pulling or merging one branch. octopus:: - This resolves more than two-head case, but refuses to do - complex merge that needs manual resolution. It is + This resolves the more than two-heads case, but refuses to do + a complex merge that needs manual resolution. It is primarily meant to be used for bundling topic branch heads together. This is the default merge strategy when - pulling or merging more than one branches. + pulling or merging more than one branch. ours:: This resolves any number of heads, but the result of the
Signature · 1 line
1.6.2.1
Documentation/git-merge.txt include::merge-strategies.txt[] · line 44
Quoted 3 lines · Wincent Colaiuta
If you tried a merge which resulted in a complex conflicts and
Documentation/git-merge.txt +1
-1-would want to start over, you can recover with 'git-reset'. +want to start over, you can recover with 'git-reset'.
Reads Ok to me either way...
Documentation/merge-strategies.txt MERGE STRATEGIES · line 7
Quoted 11 lines
Documentation/merge-strategies.txt +1
-1@@ -3,15 +3,15 @@ MERGE STRATEGIES resolve:: This can only resolve two heads (i.e. the current branch - and another branch you pulled from) using 3-way merge + and another branch you pulled from) using a 3-way merge algorithm. It tries to carefully detect criss-cross
Hmph, would that be an 'a' or 'the'?
Documentation/merge-strategies.txt MERGE STRATEGIES · line 14
Quoted 7 lines
Documentation/merge-strategies.txt +3
-3recursive:: - This can only resolve two heads using 3-way merge - algorithm. When there are more than one common - ancestors that can be used for 3-way merge, it creates a + This can only resolve two heads using a 3-way merge + algorithm. When there is more than one common + ancestor that can be used for 3-way merge, it creates a
Do you need an article before the latter "3-way merge", perhaps "the"?
Documentation/merge-strategies.txt recursive:: · line 26
Quoted 8 lines
Documentation/merge-strategies.txt +2
-2@@ -22,11 +22,11 @@ recursive:: pulling or merging one branch. octopus:: - This resolves more than two-head case, but refuses to do - complex merge that needs manual resolution. It is + This resolves the more than two-heads case, but refuses to do + a complex merge that needs manual resolution. It is
Perhaps "resolves cases with more than two heads" is easier to read?
Quoted 7 lines · Junio C Hamano
Documentation/git-merge.txt include::merge-strategies.txt[] · line 44
Quoted 3 lines · Wincent Colaiuta
If you tried a merge which resulted in a complex conflicts and
Documentation/git-merge.txt +1
-1-would want to start over, you can recover with 'git-reset'. +want to start over, you can recover with 'git-reset'.Reads Ok to me either way...
Wincent gave a more complete explanation, and I think he is right about this change. But while reading this I also noticed "... a complex conflicts ..." in the context line which should be just "complex conflicts".
-Peff
PATCH 1/1 Grammar fix for "git merge" man page
As spotted by the eagle eyes of Jeff King.
--- Documentation/git-merge.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/git-merge.txt +1 -1
@@ -40,7 +40,7 @@ include::merge-options.txt[] include::merge-strategies.txt[] -If you tried a merge which resulted in a complex conflicts and +If you tried a merge which resulted in complex conflicts and want to start over, you can recover with 'git-reset'. CONFIGURATION
Signature · 1 line
1.6.2.1
Quoted 7 lines · Junio C Hamano
Documentation/git-merge.txt include::merge-strategies.txt[] · line 44
Quoted 3 lines · Wincent Colaiuta
If you tried a merge which resulted in a complex conflicts and
Documentation/git-merge.txt +1
-1-would want to start over, you can recover with 'git-reset'. +want to start over, you can recover with 'git-reset'.Reads Ok to me either way...
"tried" is in the past preterit, so the second verb, the one after the "and", should be "want" due to concordance. "would want" is not actually wrong, but it is bad form. It is a common mistake among non- native speaker to use "would" when it's not required in cases like this, probably due to confusion with the pattern "If X, I would Y" (but note that there's no "and" in that case).
(Speaking as a native English-speaker and part-time English teacher, who this very week has been teaching classes about modal verbs like "would".)
Quoted 7 lines
Quoted 7 lines
Documentation/ renamed from Documentation/merge-strategies.txt +0
-0merge-strategies.txt
index 1276f85..ee7f754 100644Documentation/merge-strategies.txt +0
-0@@ -3,15 +3,15 @@ MERGE STRATEGIES
Quoted 7 lines
Quoted 5 lines
resolve::
This can only resolve two heads (i.e. the current branchDocumentation/merge-strategies.txt +1
-1- and another branch you pulled from) using 3-way merge + and another branch you pulled from) using a 3-way mergealgorithm. It tries to carefully detect criss-cross
Hmph, would that be an 'a' or 'the'?
Doesn't really matter, IMO, but some kind of article is required there. If there is literally only one 3-way merge algorithm in computer science, then "the" would be best. I chose "a" because I was thinking of it as "Git's interpretation of the 3-way merge algorithm".
Quoted 9 lines
Documentation/merge-strategies.txt MERGE STRATEGIES · line 14
Quoted 7 lines
recursive::
Documentation/merge-strategies.txt +3
-3- This can only resolve two heads using 3-way merge - algorithm. When there are more than one common - ancestors that can be used for 3-way merge, it creates a + This can only resolve two heads using a 3-way merge + algorithm. When there is more than one common + ancestor that can be used for 3-way merge, it creates aDo you need an article before the latter "3-way merge", perhaps "the"?
Probably wouldn't hurt.
Quoted 10 lines
Documentation/merge-strategies.txt recursive:: · line 26
Quoted 8 lines
Documentation/merge-strategies.txt +0
-0@@ -22,11 +22,11 @@ recursive:: pulling or merging one branch.octopus::
Documentation/merge-strategies.txt +2
-2- This resolves more than two-head case, but refuses to do - complex merge that needs manual resolution. It is + This resolves the more than two-heads case, but refuses to do + a complex merge that needs manual resolution. It isPerhaps "resolves cases with more than two heads" is easier to read?
Yes, I agree.
Cheers,
Wincent