Skip to content

GIT_WORK_TREE is ignored #587

Closed
Closed
@tbhartman

Description

@tbhartman

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions