diff options
| author | Junio C Hamano <gitster@pobox.com> | 2012-05-23 13:35:19 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2012-05-23 13:35:19 -0700 |
| commit | 8d19426f985afdf4cc34f88198226964566dcdc1 (patch) | |
| tree | ae682e1547907e8a8260bc9b4c365e28bb077795 | |
| parent | Merge branch 'js/rebase-i-p-test-fix' (diff) | |
| parent | rev-parse doc: --git-dir does not always show a relative path (diff) | |
| download | git-8d19426f985afdf4cc34f88198226964566dcdc1.tar.gz git-8d19426f985afdf4cc34f88198226964566dcdc1.zip | |
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
| -rw-r--r-- | Documentation/git-rev-parse.txt | 3 |
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 |
