From: Junio C Hamano Date: Mon, 22 Feb 2016 17:43:25 GMT Subject: Re: [PATCH v6 4/4] config: add '--show-origin' option to print the origin of a config value Message-ID: In-Reply-To: <1455873362-66998-5-git-send-email-larsxschneider@gmail.com> larsxschneider@gmail.com writes: > +test_expect_success '--show-origin with --list' ' > + cat >expect <<-EOF && > + file:$HOME/.gitconfig user.global=true > + file:$HOME/.gitconfig user.override=global > + file:$HOME/.gitconfig include.path=$INCLUDE_DIR/absolute.include > + file:$INCLUDE_DIR/absolute.include user.absolute=include > + file:.git/config user.local=true > + file:.git/config user.override=local > + file:.git/config include.path=../include/relative.include > + file:.git/../include/relative.include user.relative=include > + cmdline: user.cmdline=true > + EOF > ... > +test_expect_success '--show-origin stdin' ' > + cat >expect <<-\EOF && > + stdin: user.custom=true > + EOF I do recall there was some bikeshedding^Wdesigning discussion, in which I chose not to participate, on the output format, how origin-type and origin-value are given in the output in an unambiguous way that is easy to understand by the end users. Does the above reflect the concensus from the discussion? Just double checking.