threads / patch / 33995

patchgit.txt: remove stale comment regarding GIT_WORK_TREE

Subject: [PATCH] git.txt: remove stale comment regarding GIT_WORK_TREE

## tl;dr

One message between May 31, 2013 and May 31, 2013. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Chris Rorvick· May 31, 2013, 01:11 UTC · lore

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 <chris@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(-)
Show changes to Documentation/git.txt +1 −3
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.
 
-- 
1.8.3.450.gf3f2a46

← back to recent threads