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

Re: Should 'git config' support key with dot such as 'a.b'

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 18, 2008, 00:42 UTC
Message-ID
<7vhcf4ammj.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<46dff0320803171740of822d02medc5911e0d056eb4@mail.gmail.com>
"Ping Yin" <pkufranky@gmail.com> writes:
Show 32 quoted lines
> On Fri, Mar 14, 2008 at 6:39 PM, Johannes Schindelin
> <Johannes.Schindelin@gmx.de> wrote:
>> Hi,
>>
>>
>>
>>  On Fri, 14 Mar 2008, Ping Yin wrote:
>>
>>  > I find it is so annoying to write submodule definition as follows
>>  > (yeah, only url, without path)
>>  >
>>  > ------------------------------
>>  > [submodule 'crawler']
>>  >     url = url1
>>  > [submodule 'search']
>>  >     url = url2
>>  > ------------------------------
>>  >
>>  > I think the following form is more simple
>>  > ---------------------------------
>>  > [submodule]
>>  >      crawler.url = url1
>>  >      search.url = url2
>>  > ---------------------------------
>>  >
>>  > So, could we support such simpler form?
>>
>>  I don't like it at all.  Historically, we had much stricter rules on the
>>  variable names than the second part of the section names.
>>
>>  Also, your suggestion would make things even more confusing than beginners
>>  already complain Git is.

I am not interested in this at all. I would usually say "it is not clear what advantage this has", but in this case, I would rather say "it is clear there is no advantage in this".

Previous: Ping YinNext: Xavier Maillard
Message 4 of 7 in “Should 'git config' support key with dot such as 'a.b'”
  1. Ping YinMar 14, 2008
  2. Johannes SchindelinMar 14, 2008
  3. Ping YinMar 18, 2008
  4. Junio C HamanoMar 18, 2008
  5. Xavier MaillardMar 17, 2008
  6. Frank LichtenheldMar 17, 2008
  7. Frank LichtenheldMar 17, 2008

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.