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>
This commit is contained in:
Nguyễn Thái Ngọc Duy 2010-11-26 22:32:43 +07:00 committed by Junio C Hamano
parent 98acf75985
commit e7d1efbe9d

View File

@ -285,7 +285,7 @@ help ...`.
This can also be controlled by setting the GIT_WORK_TREE This can also be controlled by setting the GIT_WORK_TREE
environment variable and the core.worktree configuration environment variable and the core.worktree configuration
variable. It can be an absolute path or relative path to 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 Note: If --git-dir or GIT_DIR are specified but none of
--work-tree, GIT_WORK_TREE and core.worktree is specified, --work-tree, GIT_WORK_TREE and core.worktree is specified,
the current working directory is regarded as the top directory the current working directory is regarded as the top directory