GitConfigParser ignores multiple [include] paths · Issue #2099 · gitpython-developers/GitPython
Repository navigation
GitConfigParser ignores multiple [include] paths #2099
New issue
New issue
Closed
#2100
Closed
GitConfigParser ignores multiple [include] paths #2099 #2100 Labels
acknowledged
help wanted
Description
@gibfahn's profile gibfahn opened on Jan 19, 2026git help config says (emphasis mine):
Includes
The include and includeIf sections allow you to include config directives from another source. These sections behave identically to each other with the exception that includeIf sections may be ignored if their condition does not evaluate to true; see "Conditional includes"
below.You can include a config file from another by setting the special include.path (or includeIf.*.path) variable to the name of the file to be included. The variable takes a pathname as its value, and is subject to tilde expansion. **These variables can be given multiple times.**
Which means this is a valid config:
[include] path = ~/.config/git/maintenance.config path = ~/.config/git/my-config
But this isn't handled by GitPython today, only one path entry is returned.
Metadata
Metadata
Assignees
No one assignedLabels
acknowledged
help wanted