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 upReading and writing global configuration parameters #775
Labels
Milestone
Comments
Thanks for letting us know! Out of the back of my head, no simpler solution comes to mind. |
Better workaround if anybody is interested.
Usage:
|
@andy-shev Thank you! Solution worked for me too. @Byron Are you open to PRs? It seems like this is mostly a matter of where to put the relevant code. If I figure out something logical, can I submit a PR and we discuss from there? |
@bthayer2365 Absolutely, GitPython runs on PRs! Thanks for your participation :). |
This was referenced Oct 19, 2019
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is no way to get global configuration parameters without
Repo
object.config_reader()
must be repository independent. So doesconfig_writer()
and accompanying methods.Simplest (and ugly) hack is to allow
path=None
inRepo()
.