git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Chris Rorvick <chris@rorvick.com>
Date
May 31, 2013, 01:11 UTC
Message-ID
<1369962701-13820-1-git-send-email-chris@rorvick.com>

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(-)
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
Message 1 of 1 in “git.txt: remove stale comment regarding GIT_WORK_TREE”
  1. git.txt: remove stale comment regarding GIT_WORK_TREEChris Rorvick, May 31, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.