Skip to content

git configuration option names should be case insensitive #752

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

Open
talshorer opened this issue May 4, 2018 · 0 comments
Open

git configuration option names should be case insensitive #752

talshorer opened this issue May 4, 2018 · 0 comments

Comments

@talshorer
Copy link

tals $ git config foo.BarBaz 2
tals $ git config foo.BarBaz
2
tals $ git config foo.BarBaz 2
tals $ git config -l | grep -i foo.BarBaz
foo.barbaz=2
tals $ 

git treats its configuration option names as case-insensitive. This would be a no-brainer by using configparser (which GitPython does use), but for some reason the optionxform method was overriden to change this behaviour.

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

No branches or pull requests

2 participants