summaryrefslogtreecommitdiffstats
path: root/git-rev-parse.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2010-12-17 06:57:26 +0000
committerJunio C Hamano <junio@kernel.org>2010-12-17 06:57:26 +0000
commit0d75e8734ce2601a438c17a0588270dd3fa8aec1 (patch)
tree363735b98fcf0a14a4451e68f99fa405ec4e4014 /git-rev-parse.html
parent7eeb87e0c2c984b2f0f5797c572f8e3661438005 (diff)
downloadgit-htmldocs-0d75e8734ce2601a438c17a0588270dd3fa8aec1.tar.gz
Autogenerated HTML docs for v1.7.3.4-568-g1b974
Diffstat (limited to 'git-rev-parse.html')
-rw-r--r--git-rev-parse.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/git-rev-parse.html b/git-rev-parse.html
index 33e5ba8b3..eca857615 100644
--- a/git-rev-parse.html
+++ b/git-rev-parse.html
@@ -928,6 +928,10 @@ A suffix <em>:</em> followed by a path (e.g. <tt>HEAD:README</tt>); this names t
<em>:path</em> (with an empty part before the colon, e.g. <tt>:README</tt>)
is a special case of the syntax described next: content
recorded in the index at the given path.
+ A path starting with <em>./</em> or <em>../</em> is relative to current working directory.
+ The given path will be converted to be relative to working tree&#8217;s root directory.
+ This is most useful to address a blob or tree from a commit or tree that has
+ the same tree structure with the working tree.
</p>
</li>
<li>