Browse files

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
  • Loading branch information...
2 parents 1221941 + d0740ce commit 8d19426f985afdf4cc34f88198226964566dcdc1 @gitster gitster committed May 23, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 Documentation/git-rev-parse.txt
@@ -137,7 +137,8 @@ shown. If the pattern does not contain a globbing character (`?`,
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

0 comments on commit 8d19426

Please sign in to comment.