Skip to content

Commit 7615cb0

Browse files
stepnemgitster
authored andcommitted
doc: A few minor copy edits.
- (glossary) the quotes around the Wikipedia URL prevented its linkification in frontends that support it; remove them - (manual) newer version (SHA-1) == following, older == preceding, not the other way around - trivial typo and wording fixes Signed-off-by: Štěpán Němec <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1b8e822 commit 7615cb0

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

Documentation/git-merge.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ final result verbatim. When both sides made changes to the same area,
181181
however, git cannot randomly pick one side over the other, and asks you to
182182
resolve it by leaving what both sides did to that area.
183183

184-
By default, git uses the same style as that is used by "merge" program
184+
By default, git uses the same style as the one used by the "merge" program
185185
from the RCS suite to present such a conflicted hunk, like this:
186186

187187
------------

Documentation/git-rebase.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ which makes little sense.
273273
Pass the <strategy-option> through to the merge strategy.
274274
This implies `--merge` and, if no strategy has been
275275
specified, `-s recursive`. Note the reversal of 'ours' and
276-
'theirs' as noted in above for the `-m` option.
276+
'theirs' as noted above for the `-m` option.
277277

278278
-q::
279279
--quiet::

Documentation/glossary-content.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ to point at the new commit.
117117

118118
[[def_ent]]ent::
119119
Favorite synonym to "<<def_tree-ish,tree-ish>>" by some total geeks. See
120-
`http://en.wikipedia.org/wiki/Ent_(Middle-earth)` for an in-depth
120+
http://en.wikipedia.org/wiki/Ent_(Middle-earth) for an in-depth
121121
explanation. Avoid this term, not to confuse people.
122122

123123
[[def_evil_merge]]evil merge::

Documentation/rev-list-options.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ options may be given. See linkgit:git-diff-files[1] for more options.
760760

761761
--cc::
762762

763-
This flag implies the '-c' options and further compresses the
763+
This flag implies the '-c' option and further compresses the
764764
patch output by omitting uninteresting hunks whose contents in
765765
the parents have only two variants and the merge result picks
766766
one of them without modification.

Documentation/user-manual.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2870,7 +2870,7 @@ $ git fetch example
28702870
You can also add a "+" to force the update each time:
28712871

28722872
-------------------------------------------------
2873-
$ git config remote.example.fetch +master:ref/remotes/example/master
2873+
$ git config remote.example.fetch +master:refs/remotes/example/master
28742874
-------------------------------------------------
28752875

28762876
Don't do this unless you're sure you won't mind "git fetch" possibly
@@ -2966,7 +2966,7 @@ As you can see, a commit is defined by:
29662966

29672967
- a tree: The SHA-1 name of a tree object (as defined below), representing
29682968
the contents of a directory at a certain point in time.
2969-
- parent(s): The SHA-1 name of some number of commits which represent the
2969+
- parent(s): The SHA-1 name(s) of some number of commits which represent the
29702970
immediately previous step(s) in the history of the project. The
29712971
example above has one parent; merge commits may have more than
29722972
one. A commit with no parents is called a "root" commit, and
@@ -3363,8 +3363,8 @@ Date:
33633363
:100644 100644 oldsha... 4b9458b... M somedirectory/myfile
33643364
------------------------------------------------
33653365

3366-
This tells you that the immediately preceding version of the file was
3367-
"newsha", and that the immediately following version was "oldsha".
3366+
This tells you that the immediately following version of the file was
3367+
"newsha", and that the immediately preceding version was "oldsha".
33683368
You also know the commit messages that went with the change from oldsha
33693369
to 4b9458b and with the change from 4b9458b to newsha.
33703370

@@ -4035,8 +4035,8 @@ $ git ls-files --unmerged
40354035
Each line of the `git ls-files --unmerged` output begins with
40364036
the blob mode bits, blob SHA-1, 'stage number', and the
40374037
filename. The 'stage number' is git's way to say which tree it
4038-
came from: stage 1 corresponds to `$orig` tree, stage 2 `HEAD`
4039-
tree, and stage3 `$target` tree.
4038+
came from: stage 1 corresponds to the `$orig` tree, stage 2 to
4039+
the `HEAD` tree, and stage 3 to the `$target` tree.
40404040

40414041
Earlier we said that trivial merges are done inside
40424042
`git read-tree -m`. For example, if the file did not change

0 commit comments

Comments
 (0)