On Tue, Oct 23, 2012 at 10:13 AM, Ævar Arnfjörð Bjarmason
<ava...@gmail.com> wrote:
> And git config --get foo.bar will give you:
>     $ git config -f /tmp/test --get foo.bar
>     one
>     error: More than one value for the key foo.bar: two
>     error: More than one value for the key foo.bar: three
> I think that it would be better if the config mechanism just silently
> overwrote keys that clobbered earlier keys like your patch does.
> But in addition can we simplify things for the consumers of
> "git-{config,var} -l" by only printing:
>     foo.bar=three
> Or are there too many variables like "include.path" that can
> legitimately appear more than once.

I frequently use pushurl in my remotes to push my master branch both
to the original repo and my forked version.  I find it very helpful in
my workflow, and would hate to lose that.  That said, I do like the
idea of having a config file and the ability to override some of the

To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to