Re: [PATCH v1] Documentation: git-rev-parse: clarify that --git-dir does not necessarily show relative paths
On Fri, May 18, 2012 at 4:23 PM, Jon Seymour <jon.seymour@gmail.com> wrote:
Show 10 quoted lines
> @@ -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
Definitely an improvement. Thanks.
--
Duy