From: Daniel Villeneuve <daniel2villeneuve@videotron.ca>
To: git@vger.kernel.org
Subject: git -c var=val not taken into account by git config?
Date: Mon, 07 May 2012 19:16:51 -0400 [thread overview]
Message-ID: <4FA857E3.5030609@videotron.ca> (raw)
Hi,
Testing color configuration via scripting, I tried the following command:
git -c color.diff=always config --get-colorbool diff false
on a repository with color.diff=auto.
I'd expect "true" as output, but got "false". "git diff" works as
expected though. Is this an exception for "git config"?
Using git version 1.7.10.1.
--
Daniel Villeneuve
next reply other threads:[~2012-05-07 23:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-07 23:16 Daniel Villeneuve [this message]
2012-05-08 9:16 ` git -c var=val not taken into account by git config? Jeff King
2012-05-08 12:56 ` Daniel Villeneuve
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=4FA857E3.5030609@videotron.ca \
--to=daniel2villeneuve@videotron.ca \
--cc=git@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.