Skip to content

Commit

Permalink
Merge branch 'js/rev-parse-doc-fix' into jch
Browse files Browse the repository at this point in the history
By Jon Seymour
* js/rev-parse-doc-fix:
  rev-parse doc: --git-dir does not always show a relative path
  • Loading branch information
gitster committed May 21, 2012
2 parents 5932366 + d0740ce commit 357c5ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Documentation/git-rev-parse.txt
Expand Up @@ -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
Expand Down

0 comments on commit 357c5ad

Please sign in to comment.