[PATCH v2 0/4] allow more sources for config values
- From
Heiko Voigt <hvoigt@hvoigt.net>
- Date
- Mar 10, 2013, 16:56 UTC
- Message-ID
- <20130310165642.GA1136@sandbox-ub.fritz.box>
The following issues still exist:
* Error handling: If this should be useful to interrogate configs from the database during git operations we need a way to recover from parsing errors instead of dying.
* More tests ?
This is an update with the comments of the first iteration[1] incorporated.
[1] http://thread.gmane.org/gmane.comp.version-control.git/217018/
Heiko Voigt (4): config: factor out config file stack management config: drop file pointer validity check in get_next_char() config: make parsing stack struct independent from actual data source teach config parsing to read from strbuf
.gitignore | 1 + Makefile | 1 + cache.h | 2 + config.c | 143 ++++++++++++++++++++++++++++++++++++++----------- t/t1300-repo-config.sh | 24 +++++++++ test-config.c | 40 ++++++++++++++ 6 files changed, 180 insertions(+), 31 deletions(-) create mode 100644 test-config.c
-- 1.8.2.rc0.26.gf7384c5