git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Frank Lichtenheld <frank@lichtenheld.de>
To: Xavier Maillard <xma@gnu.org>
Cc: Ping Yin <pkufranky@gmail.com>, git@vger.kernel.org
Subject: Re: Should 'git config' support key with dot such as 'a.b'
Date: Mon, 17 Mar 2008 09:48:15 +0100	[thread overview]
Message-ID: <20080317084815.GC10103@mail-vs.djpig.de> (raw)
In-Reply-To: <200803170100.m2H103CF020765@localhost.localdomain>

On Mon, Mar 17, 2008 at 02:00:03AM +0100, Xavier Maillard wrote:
>    I think the following form is more simple
>    ---------------------------------
>    [submodule]
> 	crawler.url = url1
> 	search.url = url2
>    ---------------------------------
> 
>    So, could we support such simpler form?
> 
> Dunno if my vote will count but I really don't like your
> proposition. I find clearer with the current notation. What's
> more it forces people to be more rigorous when touching their
> configuration file.
> 
> git config is really simple to use and there should not be
> difficult for anybody (even new git users) to set up git using
> this helper tool. We should not recommend beginners to manually
> edit their .git/config file when git-config could be used.

git config hasn't exactly a excellent track-record for dealing with all
the possibilities the config syntax allows. Adding yet another
possibility will not make it any more reliable.

Also your argument that people should git-config anyway instead of
editing by hand kinda contradicts the need for a new format, since
it would change anything for the git-config interface, only for people
editing the file by hand...

At the end of the day I don't think the benefits justify the effort.

Gruesse,
-- 
Frank Lichtenheld <frank@lichtenheld.de>
www: http://www.djpig.de/

  reply	other threads:[~2008-03-17  8:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-14  8:24 Should 'git config' support key with dot such as 'a.b' Ping Yin
2008-03-14 10:39 ` Johannes Schindelin
2008-03-18  0:40   ` Ping Yin
2008-03-18  0:42     ` Junio C Hamano
2008-03-17  1:00 ` Xavier Maillard
2008-03-17  8:48   ` Frank Lichtenheld [this message]
2008-03-17  9:03     ` Frank Lichtenheld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080317084815.GC10103@mail-vs.djpig.de \
    --to=frank@lichtenheld.de \
    --cc=git@vger.kernel.org \
    --cc=pkufranky@gmail.com \
    --cc=xma@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).