On Wed, 23 May 2018, Junio C Hamano wrote: > Ævar Arnfjörð Bjarmason writes: > > > The issues you note about the docs using foo.barbaz instead of > > foo.barBaz should be fixed, but as noted in the "Syntax" section > > of "git-config" we already document that the config keys are all > > case-insensitive. We just like talking about them as foo.barBaz > > because it makes for easier reading. > > The first and the last level of configuration variable names are > case insensitive. > > I said "first and last", as there are variables with 2-level and > 3-level names. "foo.barBaz" is two-level and it is the same > variable as "Foo.barbaz". "remote.origin.url" is three-level, and > it is the same variable as "Remote.origin.URL", but it is not the > same variable as "remote.ORIGIN.url". > > If the documention does not make it clear, then we have > documentation bug ... personally, i would add a short, really emphatic note at the top of "man git-config" pointing this out -- i wouldn't require people to read all the way down to "Syntax" to learn this. an example just like the one you provide above would be perfect, with an extra line pointing out that the documentation uses "camel case" for nothing more than readability. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca/dokuwiki Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================