On Thu, 6 Feb 2020 at 00:36, Junio C Hamano <gitster@xxxxxxxxx> wrote: > [Stalled] > * ma/config-bool-valex (2019-11-14) 8 commits > - builtin/config: die if "value_regex" doesn't canonicalize as boolean > - builtin/config: warn if "value_regex" doesn't canonicalize as boolean > - builtin/config: canonicalize "value_regex" with `--type=bool-or-int` > - builtin/config: canonicalize "value_regex" with `--type=bool` > - builtin/config: collect "value_regexp" data in a struct > - builtin/config: extract `handle_value_regex()` from `get_value()` > - t1300: modernize part of script > - config: make `git_parse_maybe_bool_text()` public > > "git config" can be told to affect the existing entries that > "match" the given value via its value_regex argument. It learned > to normalize the value set in the configuration and the value given > from the command line before computing they "match", e.g. "true" in > the configuration file can now match with "yes" given from the > command line. > > Needs a bit more work? > cf. <CAN0heSrtwi9V607vBX9PMSfNLQ8iGcno6_iGuR4Fs8ndGxqh8A@xxxxxxxxxxxxxx> Definitely needs more work; definitely stalled. I keep getting back to this only to realize that I'm not quite sure in which direction to pull it. Please feel free to discard this whenever it gets in your way, or long before that. Martin