git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: What's cooking in git.git (Feb 2020, #01; Wed, 5)

From
MÅMartin Ågren <martin.agren@gmail.com>
Date
Feb 6, 2020, 20:56 UTC
Message-ID
<CAN0heSpxhoAqSvN_TJHPntSagx3oA4s7iUebHcsYML8NSYwfUA@mail.gmail.com>
In-Reply-To
<xmqqpnesfw74.fsf@gitster-ct.c.googlers.com>
On Thu, 6 Feb 2020 at 00:36, Junio C Hamano <gitster@pobox.com> wrote:
> [Stalled]
Show 19 quoted lines
> * 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@mail.gmail.com>

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
Previous: Taylor BlauNext: Christian Couder
Message 9 of 11 in “What's cooking in git.git (Feb 2020, #01; Wed, 5)”
  1. Junio C HamanoFeb 5, 2020
  2. Elijah NewrenFeb 6, 2020
  3. Phillip WoodFeb 6, 2020
  4. Taylor BlauFeb 6, 2020
  5. SZEDER GáborFeb 6, 2020
  6. Taylor BlauFeb 6, 2020
  7. Martin ÅgrenFeb 6, 2020
  8. Taylor BlauFeb 10, 2020
  9. Martin ÅgrenFeb 6, 2020
  10. Christian CouderFeb 7, 2020
  11. Jeff KingFeb 7, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.