Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

included config files should be processed right away, and not just after the current file is already loaded #701

Open
@yarikoptic

Description

@yarikoptic

I didn't know at all (or just successfully forgotten) that git allows to include other config files.
While making a humble attempt at#700 I did RTFM to see

   The contents of the included file are inserted immediately, as if they   had been found at the location of the include directive

So, with the sample git config files in#700 you would get

$> git config -f git/test/fixtures/git_config --includes --get sec.var1fatal: bad config line 26in file git/test/fixtures/git_config$> sed -i -e's,  gui ,gui,g' git/test/fixtures/git_config# for now$> git config -f git/test/fixtures/git_config --includes --get sec.var0value0_included$> git config -f git/test/fixtures/git_config --includes --get sec.var1value1_main

whenever the test added in#700 (https://github.com/gitpython-developers/GitPython/pull/700/files#diff-1d9cdcd948df3c80edc698aac95bfa27R100) reveals that GitPython does not "load right away". Since I felt that it is a bit of a big RF to do, didn't attempt it yet

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp