Skip to content

Commit b1bd929

Browse files
committed
Merge branch 'cr/git-work-tree-sans-git-dir'
These days, "git --work-tree=there cmd" without specifying an explicit --git-dir=here will do the usual discovery, but we had a description of older behaviour in the documentation. * cr/git-work-tree-sans-git-dir: git.txt: remove stale comment regarding GIT_WORK_TREE
2 parents f1e7414 + a758a34 commit b1bd929

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
@@ -683,9 +683,7 @@ Git so take care if using Cogito etc.
683683
The '--git-dir' command-line option also sets this value.
684684

685685
'GIT_WORK_TREE'::
686-
Set the path to the working tree. The value will not be
687-
used in combination with repositories found automatically in
688-
a .git directory (i.e. $GIT_DIR is not set).
686+
Set the path to the root of the working tree.
689687
This can also be controlled by the '--work-tree' command line
690688
option and the core.worktree configuration variable.
691689

0 commit comments

Comments
 (0)