Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-05-24 00:35:19 +0400
committerJunio C Hamano <gitster@pobox.com>2012-05-24 00:35:19 +0400
commit8d19426f985afdf4cc34f88198226964566dcdc1 (patch)
treeae682e1547907e8a8260bc9b4c365e28bb077795 /Documentation/git-rev-parse.txt
parent12219414dd4b114081374361101ac2de65e0f1d7 (diff)
parentd0740ce0ba9417c34e00b5a61161d84f85ba7fbc (diff)
Merge branch 'js/rev-parse-doc-fix'
By Jon Seymour * js/rev-parse-doc-fix: rev-parse doc: --git-dir does not always show a relative path
Diffstat (limited to 'Documentation/git-rev-parse.txt')
-rw-r--r--Documentation/git-rev-parse.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt
index f63b81aad6..4cc3e9586f 100644
--- a/Documentation/git-rev-parse.txt
+++ b/Documentation/git-rev-parse.txt
@@ -137,7 +137,8 @@ shown. If the pattern does not contain a globbing character (`?`,
--git-dir::
Show `$GIT_DIR` if defined. Otherwise show the path to
- the .git directory, relative to the current directory.
+ the .git directory. The path shown, when relative, is
+ relative to the current working directory.
+
If `$GIT_DIR` is not defined and the current directory
is not detected to lie in a git repository or work tree