Re: [PATCH 9/9] send-email: move trivial config handling to Perl
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- May 13, 2021, 07:04 UTC
- Message-ID
- <609ccf688a4e7_329320879@natae.notmuch>
- In-Reply-To
- <YJxgC/PJ/JIcIOfq@coredump.intra.peff.net>
Jeff King wrote:
Show 14 quoted lines
> It is a bit unfortunate to have to go through these contortions, but > this is definitely the best we can do for now. I think in the long run > it would be nice to have a "--stdin" mode for git-config, where we could > do something like: > > git config --stdin <<\EOF > key=foo.bar > type=bool > default=false > > key=another.key > type=color > default=red > EOF
Why do we even have to specify the type? Shouldn't there be a registry of configurations (a schema), so that all users don't have to do this?
-- Felipe Contreras