Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upPotential bug on `import git` #930
Open
Labels
Comments
Absolutely true, it is impossible to control the environment for these Maybe it's possible to alter the python global |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On
import git
GitPython callsgit
2 times, upon running refresh method.Those calls have potential of being a bug source since the user has no way of providing environmental variables for git. For example, if the user decides to provide the
PATH
variable for any method utilizing theenv
variable (egclone_from
), he/she might end up using different git than has been used during import.