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

[PATCH 0/3] Make support for multi-value configuration options more consistent

From
DSDragan Simic <dsimic@manjaro.org>
Date
Apr 2, 2024, 00:13 UTC
Message-ID
<cover.1712016667.git.dsimic@manjaro.org>

This series adds support for optional placing of additional whitespace characters around the commas in the multi-value, comma-separated values for the "diff.dirstat" and "diff.wsErrorHighlight" configuration options, and the "--dirstat" and "--ws-error-highlight" command-line options.

This makes the way multi-(sub)value configuration options can be specified more consistent, because exactly the same additional whitespace characters are already allowed for some of the configuration options. It may also make the configuration files more readable to some users.

Dragan Simic (3):
  diff: support additional whitespace in diff.{dirstat,wsErrorHighlight}
  t4015: whitespace in diff.wsErrorHighlight and --ws-error-highlight
  t4047: whitespace in diff.dirstat and --dirstat
 builtin/gc.c                |  4 ++--
 diff.c                      | 14 ++++++++++----
 notes.c                     |  2 +-
 refs/packed-backend.c       |  2 +-
 string-list.c               | 27 +++++++++++++++++++++------
 string-list.h               | 10 ++++++----
 t/helper/test-hashmap.c     |  2 +-
 t/helper/test-json-writer.c |  2 +-
 t/helper/test-oidmap.c      |  2 +-
 t/helper/test-string-list.c |  4 ++--
 t/t4015-diff-whitespace.sh  | 36 ++++++++++++++++++++++++++++++++++--
 t/t4047-diff-dirstat.sh     | 33 ++++++++++++++++++++++++++++++---
 12 files changed, 110 insertions(+), 28 deletions(-)
Next: Dragan Simic
Message 1 of 6 in “Make support for multi-value configuration options more consistent”
  1. 0/3 Make support for multi-value configuration options more consistentDragan Simic, Apr 2, 2024
  2. 2/3 t4015: whitespace in diff.wsErrorHighlight and --ws-error-highlightDragan Simic, Apr 2, 2024
  3. 1/3 diff: support additional whitespace in diff.{dirstat,wsErrorHighlight}Dragan Simic, Apr 2, 2024
  4. 3/3 t4047: whitespace in diff.dirstat and --dirstatDragan Simic, Apr 2, 2024
  5. Dragan SimicApr 2, 2024
  6. Dragan SimicApr 16, 2024

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.