git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: is it "core.excludesfile" or "core.excludesFile"?

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 6, 2017, 00:47 UTC
Message-ID
<xmqqvajt5cg8.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<CAGZ79kZof3SWE_Pyb1ADVtkfD2+9ukV+nNBgwxt6xa52Vrmk6A@mail.gmail.com>
Stefan Beller <sbeller@google.com> writes:
Show 11 quoted lines
> On Thu, Oct 5, 2017 at 2:25 PM, Robert P. J. Day <rpjday@crashcourse.ca> wrote:
>>
>>   more pedantic nitpickery, but the git source/docs seems to bounce
>> all over the place as to which of those forms is the right one.
>> opinions?
>
> In the code we use all lowercase to compare (any input is converted to
> lowercase);
> in the docs we try to come up with a sufficient cameLcase to not
> confuse the user.
> In tests, I don't know?

Unless the test is about making sure that section.var and SecTion.Var are treated the same (and section.subsection.var and section.subSection.var are treated differently), it is preferrable to use multiWordSection.multiWordVar in tests for consistency and for documentation value.

Previous: Stefan Beller
Message 3 of 3 in “is it "core.excludesfile" or "core.excludesFile"?”
  1. Robert P. J. DayOct 5, 2017
  2. Stefan BellerOct 5, 2017
  3. Junio C HamanoOct 6, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.