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

Allow overriding of global and system configuration #1193

Open
sisp opened this issue Jul 6, 2023 · 1 comment
Open

Allow overriding of global and system configuration #1193

sisp opened this issue Jul 6, 2023 · 1 comment

Comments

@sisp
Copy link

sisp commented Jul 6, 2023

Git v2.32.0 introduced two new environment variables, GIT_CONFIG_GLOBAL and GIT_CONFIG_SYSTEM, for overriding global and system configurations which is especially useful for executing git commands in a sanitized environment. Since Dulwich already supports GIT_CONFIG_NOSYSTEM, I think it would be great to also add these two environment variables.

See git/git@4179b48 for the original commit in the git project.

@jelmer
Copy link
Owner

jelmer commented Jul 6, 2023

That makes sense; not sure if I'll have time to look at this myself anytime soon, but happy to review PRs.

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

No branches or pull requests

2 participants