Re: [BUG] git config does not reuse section name
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 8, 2009, 02:05 UTC
- Message-ID
- <alpine.DEB.1.00.0912080304290.4985@pacific.mpi-cbg.de>
- In-Reply-To
- <fabb9a1e0912071223l21c70e2ax9b0e3c9976ae9d7@mail.gmail.com>
Hi,
On Mon, 7 Dec 2009, Sverre Rabbelier wrote:
Show 11 quoted lines
> On Mon, Dec 7, 2009 at 21:04, Junio C Hamano <gitster@pobox.com> wrote: > > If I recall correctly, this hasn't been even > > noticed/reported/recognized as an issue, ever since the "git > > repo-config" was introduced (which later was renamed to "git config"). > > I poked Dscho about it at some point. > > > Dscho, do you remember details? > > He told me that the 'git config' code is so horrible that it's > nigh-impossible to change the behavior, hence why he didn't do it :P.
Actually, I said something about the most obvious route being to re-use git_config() and that this approach had its limitations.
I also said that I earned (probably rightfully) a reputation of lousy code with Junio, which makes me think that I probably should refrain from ever contributing code to Git again.
Ciao, Dscho