You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@DanielSiepmann Thanks for the detailed description, and for the fix! Please have a look at my review - I hope to be able to merge the fix soon and create a new release accordingly.
When you have an include statement in the user
.gitconfig
there content will take precedence over the local.git/config
of the repository.E.g. the following code:
entry = repo.config_reader().get_value('gitlab', 'url')
With the following config setup:
~/.gitconfig
:~/.gitconfig-local
:.git/config
:Will return
url2
I would expect to receiveurl3
instead as local config should take precedence as the include was in a more global config.Looks like the issue resides inside the
read
function e.g.GitPython/git/config.py
Line 427 in c823d48
As the function is just to big, I'm not able to provide a fix.
Versions in use:
The text was updated successfully, but these errors were encountered: