diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-04-19 22:35:10 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-04-19 22:35:10 -0700 |
commit | 52a094d73a03abe677880d74fe3ec08f73583aa7 (patch) | |
tree | 5ab92370d4203b6fa4f147f8fffb2ffa328a1c42 /git-rev-parse.html | |
parent | 761b4816f4f926a06d6c0fc060763ff857b9acfa (diff) | |
download | git-htmldocs-52a094d73a03abe677880d74fe3ec08f73583aa7.tar.gz |
Autogenerated HTML docs for v2.13.0-rc0
Diffstat (limited to 'git-rev-parse.html')
-rw-r--r-- | git-rev-parse.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-rev-parse.html b/git-rev-parse.html index 4bd300a01..0b2cbc7b9 100644 --- a/git-rev-parse.html +++ b/git-rev-parse.html @@ -1666,7 +1666,7 @@ for naming a set that is formed by a commit and its parent commits.</p></div> <div class="paragraph"><p>The <em>r1^@</em> notation means all parents of <em>r1</em>.</p></div>
<div class="paragraph"><p>The <em>r1^!</em> notation includes commit <em>r1</em> but excludes all of its parents.
By itself, this notation denotes the single commit <em>r1</em>.</p></div>
-<div class="paragraph"><p>The <em><rev>^-{<n>}</em> notation includes <em><rev></em> but excludes the <n>th
+<div class="paragraph"><p>The <em><rev>^-<n></em> notation includes <em><rev></em> but excludes the <n>th
parent (i.e. a shorthand for <em><rev>^<n>..<rev></em>), with <em><n></em> = 1 if
not given. This is typically useful for merge commits where you
can just pass <em><commit>^-</em> to get all the commits in the branch
@@ -1741,7 +1741,7 @@ three notations also consider its parents. For example you can say </p>
</dd>
<dt class="hdlist1">
-<em><rev>^-{<n>}</em>, e.g. <em>HEAD^-, HEAD^-2</em>
+<em><rev>^-<n></em>, e.g. <em>HEAD^-, HEAD^-2</em>
</dt>
<dd>
<p>
|