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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 14, 2008 at 6:39 PM, Johannes Schindelin
<Johannes.Schindelin@xxxxxx> 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.
>

Beginners will not edit config file directly. If they do, they can
follow the usaual syntax. So beginners don't have to know the new
syntax.

But for advanced users, the config file can be edited freely with more
free syntax. With current syntax, 'submodule'  will be repeated tons
of times when having tons of submoudles. Why not make life much easier
for advanced users in such case?



-- 
Ping Yin
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux