Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

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

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:44:23

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.

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help