summaryrefslogtreecommitdiffstats
path: root/revisions.txt
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 /revisions.txt
parent7eeb87e0c2c984b2f0f5797c572f8e3661438005 (diff)
downloadgit-htmldocs-0d75e8734ce2601a438c17a0588270dd3fa8aec1.tar.gz
Autogenerated HTML docs for v1.7.3.4-568-g1b974
Diffstat (limited to 'revisions.txt')
-rw-r--r--revisions.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/revisions.txt b/revisions.txt
index 3d4b79c48..8b519d744 100644
--- a/revisions.txt
+++ b/revisions.txt
@@ -121,6 +121,10 @@ the `$GIT_DIR/refs` directory or from the `$GIT_DIR/packed-refs` file.
':path' (with an empty part before the colon, e.g. `:README`)
is a special case of the syntax described next: content
recorded in the index at the given path.
+ A path starting with './' or '../' is relative to current working directory.
+ The given path will be converted to be relative to working tree'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.
* A colon, optionally followed by a stage number (0 to 3) and a
colon, followed by a path (e.g. `:0:README`); this names a blob object in the