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

[BUG] git config gets confused

From
Frank Lichtenheld <frank@lichtenheld.de>
Date
May 12, 2007, 23:52 UTC
Message-ID
<20070512235230.GE7184@planck.djpig.de>

While working on test cases for git-cvsserver, especially the config file handling I noticed the following bug in git-config:

$ git-config gitcvs.enabled true $ git-config gitcvs.ext.dbname %Ggitcvs1.%a.%m.sqlite $ git-config gitcvs.dbname %Ggitcvs2.%a.%m.sqlite

expected result:
[gitcvs]
        enabled = true
        dbname = %Ggitcvs2.%a.%m.sqlite
[gitcvs "ext"]
        dbname = %Ggitcvs1.%a.%m.sqlite
actual result:
[gitcvs]
        enabled = true
[gitcvs "ext"]
        dbname = %Ggitcvs1.%a.%m.sqlite
        dbname = %Ggitcvs2.%a.%m.sqlite
Gruesse,
-- 
Frank Lichtenheld <frank@lichtenheld.de>
www: http://www.djpig.de/
Next: Junio C Hamano
Message 1 of 3 in “[BUG] git config gets confused”
  1. Frank LichtenheldMay 12, 2007
  2. Junio C HamanoMay 13, 2007
  3. Johannes SchindelinMay 13, 2007

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.