Skip to content

Conversation

andrew-stripe
Copy link
Contributor

The documentation for GIT_WORK_TREE incorrectly states that it will default to the parent directory of GIT_DIR. This contradicts the actual behavior and documentation of core.worktree in git-config(1): https://git-scm.com/docs/git-config#git-config-coreworktree

Do you think the same warning should be included in the documentation for GIT_DIR? I found this to be kind of a footgun when using GIT_DIR.

The documentation for GIT_WORK_TREE incorrectly states that it will default to the parent directory of GIT_DIR. This contradicts the actual behavior and documentation of `core.worktree` in git-config(1): https://git-scm.com/docs/git-config#git-config-coreworktree
@ben
Copy link
Member

ben commented Aug 24, 2017

👣 🔫 Thanks!

@ben ben merged commit 7c78ac3 into progit:master Aug 24, 2017
@andrew-stripe andrew-stripe deleted the patch-1 branch August 24, 2017 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants