Official support for specifying --work-tree/GIT_WORK_TREE without --git-dir/GIT_DIR was added with v1.7.4-rc3~2^2~2. Update description of GIT_WORK_TREE to reflect this.
Signed-off-by: Chris Rorvick <ch...@rorvick.com> --- Commit ea472c1 made most of the relevant updates. Noticed this while troubleshooting a script that failed when using an old version of Git. Chris Documentation/git.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Documentation/git.txt b/Documentation/git.txt index 68f1ee6..54b87d9 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -682,9 +682,7 @@ Git so take care if using Cogito etc. The '--git-dir' command-line option also sets this value. 'GIT_WORK_TREE':: - Set the path to the working tree. The value will not be - used in combination with repositories found automatically in - a .git directory (i.e. $GIT_DIR is not set). + Set the path to the root of the working tree. This can also be controlled by the '--work-tree' command line option and the core.worktree configuration variable. -- 22.214.171.1240.gf3f2a46 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html