Skip to content

GIT_WORK_TREE is ignored #587

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tbhartman opened this issue Feb 24, 2017 · 1 comment
Closed

GIT_WORK_TREE is ignored #587

tbhartman opened this issue Feb 24, 2017 · 1 comment

Comments

@tbhartman
Copy link
Contributor

I have a repo set up such that my working directory is at:

d:\tmp\git_repo

and the git directory is at

d:\tmp\git_repo\files\git

I then have two environment variables set:

GIT_DIR=d:\tmp\git_repo\files\git
GIT_WORK_TREE=d:\tmp\git_repo

GitPython correctly uses the GIT_DIR, but ignores GIT_WORK_TREE. I have a patch and will request a pull momentarily.

@Byron
Copy link
Member

Byron commented Feb 25, 2017

Thanks a lot! The PR has landed, and this issue can be closed!

@Byron Byron closed this as completed Feb 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants