summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-11-26 22:32:43 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-12-22 14:34:25 -0800
commite7d1efbe9dc5c03e65a573d6f8c4d8804118eb0a (patch)
treeb0275dfc379d617caadfdc588edbd8d190d9e6f1
parentRevert "Documentation: always respect core.worktree if set" (diff)
downloadtgif-e7d1efbe9dc5c03e65a573d6f8c4d8804118eb0a.tar.xz
git.txt: correct where --work-tree path is relative to
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/git.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt
index 0c897df6a7..7433601f35 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -285,7 +285,7 @@ help ...`.
This can also be controlled by setting the GIT_WORK_TREE
environment variable and the core.worktree configuration
variable. It can be an absolute path or relative path to
- the directory specified by --git-dir or GIT_DIR.
+ current working directory.
Note: If --git-dir or GIT_DIR are specified but none of
--work-tree, GIT_WORK_TREE and core.worktree is specified,
the current working directory is regarded as the top directory