git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* is it "core.excludesfile" or "core.excludesFile"?
@ 2017-10-05 21:25 Robert P. J. Day
  2017-10-05 21:32 ` Stefan Beller
  0 siblings, 1 reply; 3+ messages in thread
From: Robert P. J. Day @ 2017-10-05 21:25 UTC (permalink / raw)
  To: Git Mailing list


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: is it "core.excludesfile" or "core.excludesFile"?
  2017-10-05 21:25 is it "core.excludesfile" or "core.excludesFile"? Robert P. J. Day
@ 2017-10-05 21:32 ` Stefan Beller
  2017-10-06  0:47   ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Beller @ 2017-10-05 21:32 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: Git Mailing list

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?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: is it "core.excludesfile" or "core.excludesFile"?
  2017-10-05 21:32 ` Stefan Beller
@ 2017-10-06  0:47   ` Junio C Hamano
  0 siblings, 0 replies; 3+ messages in thread
From: Junio C Hamano @ 2017-10-06  0:47 UTC (permalink / raw)
  To: Stefan Beller; +Cc: Robert P. J. Day, Git Mailing list

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-10-06  0:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-05 21:25 is it "core.excludesfile" or "core.excludesFile"? Robert P. J. Day
2017-10-05 21:32 ` Stefan Beller
2017-10-06  0:47   ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).