Skip to content

Commit a758a34

Browse files
crorvickgitster
authored andcommitted
git.txt: remove stale comment regarding GIT_WORK_TREE
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1599999 commit a758a34

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Documentation/git.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -654,9 +654,7 @@ git so take care if using Cogito etc.
654654
The '--git-dir' command-line option also sets this value.
655655

656656
'GIT_WORK_TREE'::
657-
Set the path to the working tree. The value will not be
658-
used in combination with repositories found automatically in
659-
a .git directory (i.e. $GIT_DIR is not set).
657+
Set the path to the root of the working tree.
660658
This can also be controlled by the '--work-tree' command line
661659
option and the core.worktree configuration variable.
662660

0 commit comments

Comments
 (0)