diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2007-01-18 06:24:10 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2007-01-18 06:24:10 +0000 |
commit | 2d47c62a3df350dff294aba379e2a5430fd130d1 (patch) | |
tree | 284b5792530e80bf61afb93bd80099eb9247ed02 /git-rev-parse.html | |
parent | e58607f49ae156d2e441edd280f99219614f52a8 (diff) | |
download | git-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.html | 13 |
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/<ref>).
+</p>
+</li>
+<li>
+<p>
A suffix <em>^</em> to a revision parameter means the first parent of
that commit object. <em>^<n></em> means the <n>th parent (i.e.
<em>rev^</em>
@@ -681,7 +692,7 @@ Junio C Hamano <junkio@cox.net></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>
|