GitPython icon indicating copy to clipboard operation
GitPython copied to clipboard

git configuration option names should be case insensitive

Open talshorer opened this issue 7 years ago • 0 comments

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.

talshorer avatar May 04 '18 10:05 talshorer