Merge branch 'cr/git-work-tree-sans-git-dir'
authorJunio C Hamano <gitster@pobox.com>
Tue, 11 Jun 2013 20:31:01 +0000 (13:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 Jun 2013 20:31:01 +0000 (13:31 -0700)
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

Documentation/git.txt
index fcbca8db7787b2046427522a6cdb5204625bc226..2e23cbb224854c3090ecd73cb36e437978d0d063 100644 (file)
@@ -683,9 +683,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.