зеркало из https://github.com/microsoft/git.git
Merge branch 'ar/markup-em-dash'
Doc mark-up updates. * ar/markup-em-dash: Documentation: render dash correctly
This commit is contained in:
Коммит
a5eaa76b30
|
@ -208,7 +208,7 @@ behavior:
|
||||||
* `warn` outputs warnings for a few such errors, but applies the
|
* `warn` outputs warnings for a few such errors, but applies the
|
||||||
patch as-is (default).
|
patch as-is (default).
|
||||||
* `fix` outputs warnings for a few such errors, and applies the
|
* `fix` outputs warnings for a few such errors, and applies the
|
||||||
patch after fixing them (`strip` is a synonym --- the tool
|
patch after fixing them (`strip` is a synonym -- the tool
|
||||||
used to consider only trailing whitespace characters as errors, and the
|
used to consider only trailing whitespace characters as errors, and the
|
||||||
fix involved 'stripping' them, but modern Gits do more).
|
fix involved 'stripping' them, but modern Gits do more).
|
||||||
* `error` outputs warnings for a few such errors, and refuses
|
* `error` outputs warnings for a few such errors, and refuses
|
||||||
|
|
|
@ -219,7 +219,7 @@ see which of the "local changes" that you made were carried forward by running
|
||||||
`git diff-index --cached $M`. Note that this does not
|
`git diff-index --cached $M`. Note that this does not
|
||||||
necessarily match what `git diff-index --cached $H` would have
|
necessarily match what `git diff-index --cached $H` would have
|
||||||
produced before such a two tree merge. This is because of cases
|
produced before such a two tree merge. This is because of cases
|
||||||
18 and 19 --- if you already had the changes in $M (e.g. maybe
|
18 and 19 -- if you already had the changes in $M (e.g. maybe
|
||||||
you picked it up via e-mail in a patch form), `git diff-index
|
you picked it up via e-mail in a patch form), `git diff-index
|
||||||
--cached $H` would have told you about the change before this
|
--cached $H` would have told you about the change before this
|
||||||
merge, but it would not show in `git diff-index --cached $M`
|
merge, but it would not show in `git diff-index --cached $M`
|
||||||
|
|
|
@ -613,7 +613,7 @@ The file parameters can point at the user's working file
|
||||||
(e.g. `new-file` in "git-diff-files"), `/dev/null` (e.g. `old-file`
|
(e.g. `new-file` in "git-diff-files"), `/dev/null` (e.g. `old-file`
|
||||||
when a new file is added), or a temporary file (e.g. `old-file` in the
|
when a new file is added), or a temporary file (e.g. `old-file` in the
|
||||||
index). `GIT_EXTERNAL_DIFF` should not worry about unlinking the
|
index). `GIT_EXTERNAL_DIFF` should not worry about unlinking the
|
||||||
temporary file --- it is removed when `GIT_EXTERNAL_DIFF` exits.
|
temporary file -- it is removed when `GIT_EXTERNAL_DIFF` exits.
|
||||||
+
|
+
|
||||||
For a path that is unmerged, `GIT_EXTERNAL_DIFF` is called with 1
|
For a path that is unmerged, `GIT_EXTERNAL_DIFF` is called with 1
|
||||||
parameter, <path>.
|
parameter, <path>.
|
||||||
|
|
|
@ -37,7 +37,7 @@ line.
|
||||||
This is even true for an originally empty line. In the following
|
This is even true for an originally empty line. In the following
|
||||||
examples, the end of line that ends with a whitespace letter is
|
examples, the end of line that ends with a whitespace letter is
|
||||||
highlighted with a `$` sign; if you are trying to recreate these
|
highlighted with a `$` sign; if you are trying to recreate these
|
||||||
example by hand, do not cut and paste them---they are there
|
example by hand, do not cut and paste them--they are there
|
||||||
primarily to highlight extra whitespace at the end of some lines.
|
primarily to highlight extra whitespace at the end of some lines.
|
||||||
|
|
||||||
The signed payload and the way the signature is embedded depends
|
The signed payload and the way the signature is embedded depends
|
||||||
|
|
|
@ -562,7 +562,7 @@ hash re-encode during clone and to encourage peers to modernize.
|
||||||
The design described here allows fetches by SHA-1 clients of a
|
The design described here allows fetches by SHA-1 clients of a
|
||||||
personal SHA-256 repository because it's not much more difficult than
|
personal SHA-256 repository because it's not much more difficult than
|
||||||
allowing pushes from that repository. This support needs to be guarded
|
allowing pushes from that repository. This support needs to be guarded
|
||||||
by a configuration option --- servers like git.kernel.org that serve a
|
by a configuration option -- servers like git.kernel.org that serve a
|
||||||
large number of clients would not be expected to bear that cost.
|
large number of clients would not be expected to bear that cost.
|
||||||
|
|
||||||
Meaning of signatures
|
Meaning of signatures
|
||||||
|
|
|
@ -99,7 +99,7 @@ conflict to leave line D means that the user declares:
|
||||||
compatible with what AB and AC wanted to do.
|
compatible with what AB and AC wanted to do.
|
||||||
|
|
||||||
So the conflict we would see when merging AB into ACAB should be
|
So the conflict we would see when merging AB into ACAB should be
|
||||||
resolved the same way---it is the resolution that is in line with that
|
resolved the same way--it is the resolution that is in line with that
|
||||||
declaration.
|
declaration.
|
||||||
|
|
||||||
Imagine that similarly previously a branch XYXZ was forked from XY,
|
Imagine that similarly previously a branch XYXZ was forked from XY,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче