git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] allow more sources for config values
@ 2013-03-10 16:56 Heiko Voigt
  2013-03-10 16:57 ` [PATCH v2 1/4] config: factor out config file stack management Heiko Voigt
                   ` (3 more replies)
  0 siblings, 4 replies; 24+ messages in thread
From: Heiko Voigt @ 2013-03-10 16:56 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git, Jens Lehmann, Jeff King, Ramsay Jones

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

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2013-03-18 14:19 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-10 16:56 [PATCH v2 0/4] allow more sources for config values Heiko Voigt
2013-03-10 16:57 ` [PATCH v2 1/4] config: factor out config file stack management Heiko Voigt
2013-03-12 10:52   ` Jeff King
2013-03-12 15:44     ` Heiko Voigt
2013-03-12 19:04       ` Jeff King
2013-03-14  6:36         ` Heiko Voigt
2013-03-10 16:58 ` [PATCH v2 2/4] config: drop file pointer validity check in get_next_char() Heiko Voigt
2013-03-12 11:00   ` Jeff King
2013-03-12 16:00     ` Heiko Voigt
2013-03-12 16:16       ` Heiko Voigt
2013-03-12 19:26         ` Jeff King
2013-03-12 19:18       ` Jeff King
2013-03-10 16:59 ` [PATCH v2 3/4] config: make parsing stack struct independent from actual data source Heiko Voigt
2013-03-12 11:03   ` Jeff King
2013-03-12 16:27     ` Heiko Voigt
2013-03-12 19:27       ` Jeff King
2013-03-10 17:00 ` [PATCH v2 4/4] teach config parsing to read from strbuf Heiko Voigt
2013-03-12 11:18   ` Jeff King
2013-03-12 16:42     ` Heiko Voigt
2013-03-12 19:29       ` Jeff King
2013-03-14  6:39         ` Heiko Voigt
2013-03-14  7:10           ` Jeff King
2013-03-14  7:39             ` Jeff King
2013-03-18 14:18               ` Heiko Voigt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).