summaryrefslogtreecommitdiffstats
path: root/git-rev-parse.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-01-18 06:24:10 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-01-18 06:24:10 +0000
commit2d47c62a3df350dff294aba379e2a5430fd130d1 (patch)
tree284b5792530e80bf61afb93bd80099eb9247ed02 /git-rev-parse.html
parente58607f49ae156d2e441edd280f99219614f52a8 (diff)
downloadgit-htmldocs-2d47c62a3df350dff294aba379e2a5430fd130d1.tar.gz
Autogenerated HTML docs for v1.5.0-rc1-gdf1b
Diffstat (limited to 'git-rev-parse.html')
-rw-r--r--git-rev-parse.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/git-rev-parse.html b/git-rev-parse.html
index d452f1ee4..0397fce30 100644
--- a/git-rev-parse.html
+++ b/git-rev-parse.html
@@ -548,6 +548,17 @@ A ref followed by the suffix <em>@</em> with a date specification
</li>
<li>
<p>
+A ref followed by the suffix <em>@</em> with an ordinal specification
+ enclosed in a brace pair (e.g. <em>{1}</em>, <em>{15}</em>) to specify
+ the n-th prior value of that ref. For example <em>master@{1}</em>
+ is the immediate prior value of <em>master</em> while <em>master@{5}</em>
+ is the 5th prior value of <em>master</em>. This suffix may only be used
+ immediately following a ref name and the ref must have an existing
+ log ($GIT_DIR/logs/&lt;ref&gt;).
+</p>
+</li>
+<li>
+<p>
A suffix <em>^</em> to a revision parameter means the first parent of
that commit object. <em>^&lt;n&gt;</em> means the &lt;n&gt;th parent (i.e.
<em>rev^</em>
@@ -681,7 +692,7 @@ Junio C Hamano &lt;junkio@cox.net&gt;</p>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 08-Nov-2006 01:33:31 UTC
+Last updated 18-Jan-2007 06:24:01 UTC
</div>
</div>
</body>