Gitsters,
I was fooling around and realized that I could assign an empty string as the name of a config section, like so:
$ git config --rename-section my ''
This leaves the config file looking like this:
[]
foo = goodbye
Which does not appear to be valid:
$ git config --get '.foo'
fatal: bad config file line 13 in .git/config
So maybe git-config should disallow setting a section to an empty string?
Best,
David