提交 edfbbf7e 编写于 作者: Š Štěpán Němec 提交者: Junio C Hamano

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: NŠtěpán Němec <stepnem@gmail.com>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 7bdb7486
...@@ -181,7 +181,7 @@ final result verbatim. When both sides made changes to the same area, ...@@ -181,7 +181,7 @@ final result verbatim. When both sides made changes to the same area,
however, git cannot randomly pick one side over the other, and asks you to however, git cannot randomly pick one side over the other, and asks you to
resolve it by leaving what both sides did to that area. resolve it by leaving what both sides did to that area.
By default, git uses the same style as that is used by "merge" program By default, git uses the same style as the one used by the "merge" program
from the RCS suite to present such a conflicted hunk, like this: from the RCS suite to present such a conflicted hunk, like this:
------------ ------------
......
...@@ -273,7 +273,7 @@ which makes little sense. ...@@ -273,7 +273,7 @@ which makes little sense.
Pass the <strategy-option> through to the merge strategy. Pass the <strategy-option> through to the merge strategy.
This implies `--merge` and, if no strategy has been This implies `--merge` and, if no strategy has been
specified, `-s recursive`. Note the reversal of 'ours' and specified, `-s recursive`. Note the reversal of 'ours' and
'theirs' as noted in above for the `-m` option. 'theirs' as noted above for the `-m` option.
-q:: -q::
--quiet:: --quiet::
......
...@@ -117,7 +117,7 @@ to point at the new commit. ...@@ -117,7 +117,7 @@ to point at the new commit.
[[def_ent]]ent:: [[def_ent]]ent::
Favorite synonym to "<<def_tree-ish,tree-ish>>" by some total geeks. See Favorite synonym to "<<def_tree-ish,tree-ish>>" by some total geeks. See
`http://en.wikipedia.org/wiki/Ent_(Middle-earth)` for an in-depth http://en.wikipedia.org/wiki/Ent_(Middle-earth) for an in-depth
explanation. Avoid this term, not to confuse people. explanation. Avoid this term, not to confuse people.
[[def_evil_merge]]evil merge:: [[def_evil_merge]]evil merge::
......
...@@ -760,7 +760,7 @@ options may be given. See linkgit:git-diff-files[1] for more options. ...@@ -760,7 +760,7 @@ options may be given. See linkgit:git-diff-files[1] for more options.
--cc:: --cc::
This flag implies the '-c' options and further compresses the This flag implies the '-c' option and further compresses the
patch output by omitting uninteresting hunks whose contents in patch output by omitting uninteresting hunks whose contents in
the parents have only two variants and the merge result picks the parents have only two variants and the merge result picks
one of them without modification. one of them without modification.
......
...@@ -2870,7 +2870,7 @@ $ git fetch example ...@@ -2870,7 +2870,7 @@ $ git fetch example
You can also add a "+" to force the update each time: You can also add a "+" to force the update each time:
------------------------------------------------- -------------------------------------------------
$ git config remote.example.fetch +master:ref/remotes/example/master $ git config remote.example.fetch +master:refs/remotes/example/master
------------------------------------------------- -------------------------------------------------
Don't do this unless you're sure you won't mind "git fetch" possibly 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: ...@@ -2966,7 +2966,7 @@ As you can see, a commit is defined by:
- a tree: The SHA-1 name of a tree object (as defined below), representing - a tree: The SHA-1 name of a tree object (as defined below), representing
the contents of a directory at a certain point in time. the contents of a directory at a certain point in time.
- parent(s): The SHA-1 name of some number of commits which represent the - parent(s): The SHA-1 name(s) of some number of commits which represent the
immediately previous step(s) in the history of the project. The immediately previous step(s) in the history of the project. The
example above has one parent; merge commits may have more than example above has one parent; merge commits may have more than
one. A commit with no parents is called a "root" commit, and one. A commit with no parents is called a "root" commit, and
...@@ -3363,8 +3363,8 @@ Date: ...@@ -3363,8 +3363,8 @@ Date:
:100644 100644 oldsha... 4b9458b... M somedirectory/myfile :100644 100644 oldsha... 4b9458b... M somedirectory/myfile
------------------------------------------------ ------------------------------------------------
This tells you that the immediately preceding version of the file was This tells you that the immediately following version of the file was
"newsha", and that the immediately following version was "oldsha". "newsha", and that the immediately preceding version was "oldsha".
You also know the commit messages that went with the change from oldsha You also know the commit messages that went with the change from oldsha
to 4b9458b and with the change from 4b9458b to newsha. to 4b9458b and with the change from 4b9458b to newsha.
...@@ -4035,8 +4035,8 @@ $ git ls-files --unmerged ...@@ -4035,8 +4035,8 @@ $ git ls-files --unmerged
Each line of the `git ls-files --unmerged` output begins with Each line of the `git ls-files --unmerged` output begins with
the blob mode bits, blob SHA-1, 'stage number', and the the blob mode bits, blob SHA-1, 'stage number', and the
filename. The 'stage number' is git's way to say which tree it filename. The 'stage number' is git's way to say which tree it
came from: stage 1 corresponds to `$orig` tree, stage 2 `HEAD` came from: stage 1 corresponds to the `$orig` tree, stage 2 to
tree, and stage3 `$target` tree. the `HEAD` tree, and stage 3 to the `$target` tree.
Earlier we said that trivial merges are done inside Earlier we said that trivial merges are done inside
`git read-tree -m`. For example, if the file did not change `git read-tree -m`. For example, if the file did not change
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册