Re: [RFC] Git config file reader in Perl (WIP)
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 16, 2007, 22:42 UTC
- Message-ID
- <Pine.LNX.4.63.0701162337330.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <dbfc82860701161417r650bc47fva92fa940b4e2cfc0@mail.gmail.com>
Hi,
On Tue, 16 Jan 2007, Nikolai Weibull wrote:
> And, as Johannes already pointed out, it's very disturbing having to > dump a configuration file so that it is more easily read by other > programs.
I never pointed out such a thing. The configuration file is meant to be user-friendly, as the inventor did not mean to have a program like git-repo-config.
> That would suggest that the ini-based format for git's configuration > file is suboptimal.
Not at all. Again, git's configuration file is meant for human inspection. Therefore, an ini-style file is optimal.
And for scripts, we do have git-repo-config. But now some people want to be clever and read the whole config file in, to make it easier to have gazillions of configuration options for their script.
I was not happy when we introduced more relaxed section titles, and I am not happy now that I see what problems we introduced with that.
> Of course, once git is librified (which is still a long-term goal, > right?), [...]
You are welcome to contribute to that goal! AFAICT nobody is seriously working on that.
Ciao, Dscho