On Fri, May 10, 2013 at 12:30:39AM +0200, Jeff King wrote:
> On Thu, May 09, 2013 at 06:20:18PM +0200, Heiko Voigt wrote:
>
> > +static int config_buf_fgetc(struct config_source *conf)
> > +{
> > + if (conf->buf.pos < conf->buf.len && conf->buf.buf[conf->buf.pos])
> > + return conf->bu
On Thu, May 09, 2013 at 06:20:18PM +0200, Heiko Voigt wrote:
> +static int config_buf_fgetc(struct config_source *conf)
> +{
> + if (conf->buf.pos < conf->buf.len && conf->buf.buf[conf->buf.pos])
> + return conf->buf.buf[conf->buf.pos++];
> +
> + return EOF;
> +}
It probably w
On Thu, May 9, 2013 at 12:20 PM, Heiko Voigt wrote:
> This can be used to read configuration values directly from gits
s/gits/git's/
> database. For example it is useful for reading to be checked out
> .gitmodules files directly from the database.
>
> Signed-off-by: Heiko Voigt
--
To unsubscrib
This can be used to read configuration values directly from gits
database. For example it is useful for reading to be checked out
.gitmodules files directly from the database.
Signed-off-by: Heiko Voigt
---
builtin/config.c | 31 +++---
cache.h| 6 +++-
config.
4 matches
Mail list logo