Thread (2 messages) 2 messages, 2 authors, 2025-03-31

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

From: Patrick Steinhardt <hidden>
Date: 2025-03-31 07:38:39

On Mon, Mar 31, 2025 at 12:13:09AM -0300, Lucas Seiki Oshiro wrote:
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 [off-list ref]
Helped-by: D. Ben Knoble [off-list ref]
Signed-off-by: Lucas Seiki Oshiro <redacted>
This commit message reads quite nicely now. The changes also look
sensible to me. Thanks, I've got nothing else to add!

Patrick
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help