git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Frank Lichtenheld <frank@lichtenheld.de>
To: git@vger.kernel.org
Cc: Junio C Hamano <junkio@cox.net>
Subject: [BUG] git config gets confused
Date: Sun, 13 May 2007 01:52:31 +0200	[thread overview]
Message-ID: <20070512235230.GE7184@planck.djpig.de> (raw)

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/

             reply	other threads:[~2007-05-12 23:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-12 23:52 Frank Lichtenheld [this message]
2007-05-13  4:49 ` [BUG] git config gets confused Junio C Hamano
2007-05-13 10:46   ` Johannes Schindelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070512235230.GE7184@planck.djpig.de \
    --to=frank@lichtenheld.de \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).