Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hierarchical config places #820

Open
strowi opened this issue Apr 5, 2022 · 0 comments
Open

hierarchical config places #820

strowi opened this issue Apr 5, 2022 · 0 comments

Comments

@strowi
Copy link

strowi commented Apr 5, 2022

Hi,

i saw it is already possible to use worktree/user specific places. But what about real hierachical search order?
E.g. for .gitconfig it is possible to use sth. like to have the config used recursively (instead of adding it to every .git/lab/lab.toml

[includeIf "gitdir:~/src/private/**"]
    path = ~/src/private/.gitconfig

[includeIf "gitdir:~/src/ck/**"]
    path = ~/src/ck/.gitconfig

This would reduce the cost from adding the config to every repository to once per sub-directory if you have e.g. a private and company folder.

kind regards,
strowi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant