git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] git config gets confused
@ 2007-05-12 23:52 Frank Lichtenheld
  2007-05-13  4:49 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Frank Lichtenheld @ 2007-05-12 23:52 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-13 10:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-12 23:52 [BUG] git config gets confused Frank Lichtenheld
2007-05-13  4:49 ` Junio C Hamano
2007-05-13 10:46   ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).