Re: [PATCH 1/4] Split up default "core" config parsing into helper routine
On Wed, 18 Jun 2008, Linus Torvalds wrote:
Show 9 quoted lines
> On Wed, 18 Jun 2008, Linus Torvalds wrote:
> >
> > Nobody should ever use "git-config" normally. You should fire up your
> > editor and just edit the damn file in place. But no, we don't have a
> > man-page for that.
>
> Btw, one reason people end up talking about git-config is that it's easier
> to tell *other* people to "run this command" than it is to tell them to
> "edit this file so it looks like <xyz>".
The other factor is that you sometimes want to tell somebody one option
setting, and you're using a medium where there's a comprehension cost to
newlines. So 'remote.origin.url blah' is more clear than '[remote
"origin"]
url = blah' in those contexts. And we don't seem to encourage
'[remote origin] url = blah', even though it turns out to work fine (at
least, I didn't know until I just now tried it that I could suggest it).
-Daniel
*This .sig left intentionally blank*