Skip to content

Fix a bug in configuration parsing, and improve tests and documentation

Dragan Simic git 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 4 repliesIn review
  2. v44 patches 9 repliesSuperseded
  3. v34 patches 11 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v25 patches14 repliesSuperseded
v14 patches6 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4config: minor addition of whitespaceconfig.c+1 -10 replies
2/4config: really keep value-internal whitespace verbatimconfig.c+9 -40 replies
3/4t1300: add more tests for whitespace and inline commentst/t1300-config.sh+111 -30 replies
4/4config.txt: describe handling of whitespace furtherDocumentation/config.txt+15 -134 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchEric SunshineJunio C Hamano
1/4
2/4
3/4Helped-by Helped-by
4/4Helped-by Helped-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/4] Fix a bug in configuration parsing, and improve tests and documentation

This series is an evolvement from another recent series, [1] as a result of a decision to fix a longstanding bug in the parsing of configuration option values, instead of documenting the status quo. [2][3]

The bufgix introduced in this series _should_ have no hidden negative effects. All of the configuration-related tests, both the old and the new ones, pass with the patches applied.

In v2, this series had five patches in total, out of which the third patch (i.e. patch 3/5) was dropped in v3. [4] Other changes in each version are described in each patch.

There will most probably be follow-up patches, to address the remaining points raised during the review of this series. [5]

Link to v1: https://lore.kernel.org/git/[email protected]/T/#u
Link to v2: https://lore.kernel.org/git/[email protected]/T/#u
Link to v3: https://lore.kernel.org/git/[email protected]/T/#u
Link to v4: https://lore.kernel.org/git/[email protected]/T/#u

[1] https://lore.kernel.org/git/[email protected]/T/#u
[2] https://lore.kernel.org/git/[email protected]/
[3] https://lore.kernel.org/git/[email protected]/
[4] https://lore.kernel.org/git/[email protected]/
[5] https://lore.kernel.org/git/[email protected]/

Dragan Simic (4):
config: minor addition of whitespace
config: really keep value-internal whitespace verbatim
t1300: add more tests for whitespace and inline comments config.txt: describe handling of whitespace further

 Documentation/config.txt |  28 +++++-----
 config.c                 |  15 ++++--
 t/t1300-config.sh        | 114 +++++++++++++++++++++++++++++++++++++--
 3 files changed, 136 insertions(+), 21 deletions(-)