# is it "core.excludesfile" or "core.excludesFile"?

3 messages from 2017-10-05 to 2017-10-06. Participants: Robert P. J. Day, Stefan Beller, Junio C Hamano.
Thread: https://gitlist.dev/t/46920

## Robert P. J. Day, 2017-10-05 21:25

Subject: is it "core.excludesfile" or "core.excludesFile"?
Message-ID: <alpine.LFD.2.21.1710051724350.2478@localhost.localdomain>
URL: https://gitlist.dev/e/alpine.LFD.2.21.1710051724350.2478%40localhost.localdomain

```

  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?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

```

## Stefan Beller, 2017-10-05 21:32

Subject: Re: is it "core.excludesfile" or "core.excludesFile"?
Message-ID: <CAGZ79kZof3SWE_Pyb1ADVtkfD2+9ukV+nNBgwxt6xa52Vrmk6A@mail.gmail.com>
URL: https://gitlist.dev/e/CAGZ79kZof3SWE_Pyb1ADVtkfD2%2B9ukV%2BnNBgwxt6xa52Vrmk6A%40mail.gmail.com
In-Reply-To: <alpine.LFD.2.21.1710051724350.2478@localhost.localdomain>

```
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?

```

## Junio C Hamano, 2017-10-06 00:47

Subject: Re: is it "core.excludesfile" or "core.excludesFile"?
Message-ID: <xmqqvajt5cg8.fsf@gitster.mtv.corp.google.com>
URL: https://gitlist.dev/e/xmqqvajt5cg8.fsf%40gitster.mtv.corp.google.com
In-Reply-To: <CAGZ79kZof3SWE_Pyb1ADVtkfD2+9ukV+nNBgwxt6xa52Vrmk6A@mail.gmail.com>

```
Stefan Beller <sbeller@google.com> writes:

> 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.

```
