Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Closed
Description
The git config parser don't look into files that areincluded into the .gitconfig file.
For example:
~/.gitconfig
[user] name = Ryan Carney email = email@personal.com[include] path = ~/.gitconfig_local
~/.gitconfig_local
[user] email = email@work.com
gitpython_test.py
import gitrepo = git.Repo("test_repo")reader = repo.config_reader()print reader.get("user", "email")
Given the above configuration you would expectgitpython_test.py to printemail@work.com
but instead it printsemail@personal.com