Skip to content

Commit

Permalink
Merge branch 'cr/git-work-tree-sans-git-dir'
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Junio C Hamano committed Jun 11, 2013
2 parents f1e7414 + a758a34 commit b1bd929
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Documentation/git.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit b1bd929

Please sign in to comment.