Re: [PATCH 4/4] teach config parsing to read from strbuf

2013-03-10 Thread Heiko Voigt
Hi, On Thu, Mar 07, 2013 at 06:42:43PM +, Ramsay Jones wrote: > Heiko Voigt wrote: > > +int git_config_from_strbuf(config_fn_t fn, struct strbuf *strbuf, void > > *data) > > +{ > > + struct config top; > > + struct config_strbuf str; > > + > > + str.strbuf = strbuf; > > + str.pos = 0;

Re: [PATCH 4/4] teach config parsing to read from strbuf

2013-03-07 Thread Ramsay Jones
Heiko Voigt wrote: > This can be used to read configuration values directly from gits > database. > > Signed-off-by: Heiko Voigt > --- > .gitignore | 1 + > Makefile | 1 + > cache.h| 1 + > config.c | 47

[PATCH 4/4] teach config parsing to read from strbuf

2013-02-26 Thread Heiko Voigt
This can be used to read configuration values directly from gits database. Signed-off-by: Heiko Voigt --- .gitignore | 1 + Makefile | 1 + cache.h| 1 + config.c | 47 +++ t/t1300-repo-config.