git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

Previous: Junio C HamanoNext: Johannes Schindelin
Message 5 of 7 in “[BUG] git config does not reuse section name”
  1. Yakup AkbayDec 7, 2009
  2. Junio C HamanoDec 7, 2009
  3. Sverre RabbelierDec 7, 2009
  4. Junio C HamanoDec 7, 2009
  5. Johannes SchindelinDec 8, 2009
  6. Johannes SchindelinDec 8, 2009
  7. Junio C HamanoDec 8, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.