Skip to content

allow more sources for config values

Heiko Voigt git 5 versions In review

Get series with b4
b4 am 20130711223614.GA26477@book-mint

Versions newest first · linked by author and title

  1. v5 Latest5 patches 2 repliesIn review
  2. v45 patches 5 repliesSuperseded
  3. v35 patches 9 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches19 repliesSuperseded
v14 patches13 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5config: factor out config file stack managementconfig.c+28 -140 replies
2/5config: drop cf validity check in get_next_char()config.c+13 -160 replies
3/5config: make parsing stack struct independent from actual data sourceconfig.c+43 -210 replies
4/5teach config --blob option to parse config from databaseDocumentation/git-config.txt builtin/config.c cache.h +2 more+193 -70 replies
5/5do not die when error in config parsing of buf occursconfig.c+8 -20 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJeff King
SeriesA-b
1/5
2/5
3/5
4/5
5/5

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/5] allow more sources for config values

Hi,

I finally got around rerolling this series.

The fourth iteration can be found here[1]. You can also find these patches as a branch on my github[2].

There is not many changes since the last iteration. I have added some documentation for the --blob option and now there is no rename of the do_config_from() function anymore.

Cheers Heiko

[1] http://article.gmane.org/gmane.comp.version-control.git/223964
[2] https://github.com/hvoigt/git/commits/hv/strbuf_config_parsing-series5

Heiko Voigt (5):
config: factor out config file stack management
config: drop cf validity check in get_next_char()
config: make parsing stack struct independent from actual data source teach config --blob option to parse config from database do not die when error in config parsing of buf occurs

 Documentation/git-config.txt |   7 ++
 builtin/config.c             |  31 ++++++-
 cache.h                      |   6 +-
 config.c                     | 217 +++++++++++++++++++++++++++++++++----------
 t/t1307-config-blob.sh       |  70 ++++++++++++++
 5 files changed, 278 insertions(+), 53 deletions(-)
 create mode 100755 t/t1307-config-blob.sh
Signature · 1 line
1.8.3.2.773.gcfaae5b