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

Re: [PATCH (REVISED)] Add core.editor configuration variable

From
APAndy Parkins <andyparkins@gmail.com>
Date
Jul 19, 2007, 14:23 UTC
Message-ID
<200707191523.42086.andyparkins@gmail.com>
In-Reply-To
<Pine.LNX.4.64.0707191213300.14781@racer.site>
On Thursday 2007 July 19, Johannes Schindelin wrote:
Show 14 quoted lines
> Hi,
>
> On Thu, 19 Jul 2007, Andy Parkins wrote:
> > On Thursday 2007 July 19, Johannes Schindelin wrote:
> > > On Thu, 19 Jul 2007, Andy Parkins wrote:
> > > > Would porcelain.editor be a better name for this variable?
> > >
> > > From my point of view you can put into "myWonderfulGit.editor".  It
> > > does not matter.
> >
> > By that argument, why do we bother with subsections at all.  In fact why
> > not call the variable "xhxhxjjjll.yqlaoospsp"?
>
> No.  I said, and I quote here, "From my point of view".

That doesn't change my point - these things are named to give meaning, they aren't just arbitrary strings of characters.

> And how would having "core.pager" but "porcelain.editor" be easier to
> remember?  Nah, not really.
If there is no difference, then do you object so strongly?

Besides, memory isn't just about having words, it's about meaning too. Categorisation and hierarchy are important. If I'm searching my brain for a function that does something to strings then the fact that it starts with "str" gets me a long way there. The fact that they _all_ start with "str" is what's important.

I don't care _that_ strongly; just like you it won't make any difference to me personally as I'll cope either way. I'm trying to think like a noob, and it seems that coherency is broken when we make distinctions between porcelain and plumbing and then don't stick to them in the config file.

Perhaps I am wrong in my assumption: I have always thought of core.* options being those options which apply to plumbing - i.e. if I were a git-guru and did everything with plumbing I would still need those options.

Andy
-- 
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@gmail.com
Previous: Johannes SchindelinNext: Nicolas Pitre
Message 6 of 11 in “Add core.editor configuration variable”
  1. Add core.editor configuration variableAdam Roben, Jul 19, 2007
  2. Andy ParkinsJul 19, 2007
  3. Johannes SchindelinJul 19, 2007
  4. Andy ParkinsJul 19, 2007
  5. Johannes SchindelinJul 19, 2007
  6. Andy ParkinsJul 19, 2007
  7. Nicolas PitreJul 19, 2007
  8. Brian GernhardtJul 19, 2007
  9. Andy ParkinsJul 19, 2007
  10. Nicolas PitreJul 19, 2007
  11. Junio C HamanoJul 20, 2007

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.