summaryrefslogtreecommitdiffstats
path: root/revisions.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-04-19 22:35:10 -0700
committerJunio C Hamano <gitster@pobox.com>2017-04-19 22:35:10 -0700
commit52a094d73a03abe677880d74fe3ec08f73583aa7 (patch)
tree5ab92370d4203b6fa4f147f8fffb2ffa328a1c42 /revisions.txt
parent761b4816f4f926a06d6c0fc060763ff857b9acfa (diff)
downloadgit-htmldocs-52a094d73a03abe677880d74fe3ec08f73583aa7.tar.gz
Autogenerated HTML docs for v2.13.0-rc0
Diffstat (limited to 'revisions.txt')
-rw-r--r--revisions.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/revisions.txt b/revisions.txt
index 75d211f1a..61277469c 100644
--- a/revisions.txt
+++ b/revisions.txt
@@ -295,7 +295,7 @@ The 'r1{caret}@' notation means all parents of 'r1'.
The 'r1{caret}!' notation includes commit 'r1' but excludes all of its parents.
By itself, this notation denotes the single commit 'r1'.
-The '<rev>{caret}-{<n>}' notation includes '<rev>' but excludes the <n>th
+The '<rev>{caret}-<n>' notation includes '<rev>' but excludes the <n>th
parent (i.e. a shorthand for '<rev>{caret}<n>..<rev>'), with '<n>' = 1 if
not given. This is typically useful for merge commits where you
can just pass '<commit>{caret}-' to get all the commits in the branch
@@ -337,7 +337,7 @@ Revision Range Summary
as giving commit '<rev>' and then all its parents prefixed with
'{caret}' to exclude them (and their ancestors).
-'<rev>{caret}-{<n>}', e.g. 'HEAD{caret}-, HEAD{caret}-2'::
+'<rev>{caret}-<n>', e.g. 'HEAD{caret}-, HEAD{caret}-2'::
Equivalent to '<rev>{caret}<n>..<rev>', with '<n>' = 1 if not
given.