← Winnitude! Search  ·  Reader Mode (806 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 12 LINKS

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, 2026

git 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 assigned

    Labels


    acknowledged

    help wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions