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

Re: [GSoC PATCH v3] userdiff: add builtin driver for INI files

From
Patrick Steinhardt <ps@pks.im>
Date
Mar 31, 2025, 07:38 UTC
Message-ID
<Z-pGdyh0eG3xSe4W@pks.im>
In-Reply-To
<20250331031309.94682-1-lucasseikioshiro@gmail.com>
On Mon, Mar 31, 2025 at 12:13:09AM -0300, Lucas Seiki Oshiro wrote:
Show 16 quoted lines
> Add a new builtin driver for generic INI files (e. g. the gitconfig
> files), where:
> 
> - the funcname regular expression matches section names, i. e. any
>   string between brackets at the beginning of the line, with or without
>   indentation;
> 
> - word_regex matches any word with one or more non-whitespace
>   characters without checking if it is a valid variable name or value.
> 
> Also add tests for the new userdiff driver. These files define sections
> and subsections, with and without indentation.
> 
> Helped-by: Patrick Steinhardt <ps@pks.im>
> Helped-by: D. Ben Knoble <ben.knoble@gmail.com>
> Signed-off-by: Lucas Seiki Oshiro <lucasseikioshiro@gmail.com>

This commit message reads quite nicely now. The changes also look sensible to me. Thanks, I've got nothing else to add!

Patrick
Previous: Lucas Seiki Oshiro
Message 2 of 2 in “userdiff: add builtin driver for INI files”
  1. userdiff: add builtin driver for INI filesLucas Seiki Oshiro, Mar 31, 2025
  2. Patrick SteinhardtMar 31, 2025

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.