Closed
Description
The git config parser don't look into files that are included 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 git
repo = git.Repo("test_repo")
reader = repo.config_reader()
print reader.get("user", "email")
Given the above configuration you would expect gitpython_test.py to print email@work.com
but instead it printsemail@personal.com