Skip to content

Commit b9190e7

Browse files
jrngitster
authored andcommitted
Documentation: do not convert ... operator to ellipses
The symmetric difference or merge-base operator ... as used by rev-list and diff is actually three period characters. If it gets replaced by an ellipsis glyph in the manual, that would stop readers from copying and pasting it. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 3c56c84 commit b9190e7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Documentation/git-checkout.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ As a special case, the `"@\{-N\}"` syntax for the N-th last branch
187187
checks out the branch (instead of detaching). You may also specify
188188
`-` which is synonymous with `"@\{-1\}"`.
189189
+
190-
As a further special case, you may use `"A...B"` as a shortcut for the
190+
As a further special case, you may use `"A\...B"` as a shortcut for the
191191
merge base of `A` and `B` if there is exactly one merge base. You can
192192
leave out at most one of `A` and `B`, in which case it defaults to `HEAD`.
193193

Documentation/git-push.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ summary::
200200
For a successfully pushed ref, the summary shows the old and new
201201
values of the ref in a form suitable for using as an argument to
202202
`git log` (this is `<old>..<new>` in most cases, and
203-
`<old>...<new>` for forced non-fast-forward updates).
203+
`<old>\...<new>` for forced non-fast-forward updates).
204204
+
205205
For a failed update, more details are given:
206206
+

Documentation/git-rebase.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ OPTIONS
207207
<upstream>. May be any valid commit, and not just an
208208
existing branch name.
209209
+
210-
As a special case, you may use "A...B" as a shortcut for the
210+
As a special case, you may use "A\...B" as a shortcut for the
211211
merge base of A and B if there is exactly one merge base. You can
212212
leave out at most one of A and B, in which case it defaults to HEAD.
213213

Documentation/rev-list-options.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ excluded from the output.
321321
reflog entries from the most recent one to older ones.
322322
When this option is used you cannot specify commits to
323323
exclude (that is, '{caret}commit', 'commit1..commit2',
324-
nor 'commit1...commit2' notations cannot be used).
324+
nor 'commit1\...commit2' notations cannot be used).
325325
+
326326
With '\--pretty' format other than oneline (for obvious reasons),
327327
this causes the output to have two extra lines of information

0 commit comments

Comments
 (0)