[PATCH v9 3/8] add line number and file name info to `config_set`

2014-08-07 Thread Tanay Abhra
Store file name and line number for each key-value pair in the cache during parsing of the configuration files. Signed-off-by: Tanay Abhra tanay...@gmail.com --- cache.h | 5 + config.c | 16 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/cache.h b/cache.h

Re: [PATCH v9 3/8] add line number and file name info to `config_set`

2014-08-07 Thread Ramsay Jones
On 07/08/14 12:59, Tanay Abhra wrote: Store file name and line number for each key-value pair in the cache during parsing of the configuration files. Signed-off-by: Tanay Abhra tanay...@gmail.com --- cache.h | 5 + config.c | 16 ++-- 2 files changed, 19 insertions(+),

Re: [PATCH v9 3/8] add line number and file name info to `config_set`

2014-08-07 Thread Matthieu Moy
Ramsay Jones ram...@ramsay1.demon.co.uk writes: On 07/08/14 12:59, Tanay Abhra wrote: Store file name and line number for each key-value pair in the cache during parsing of the configuration files. Signed-off-by: Tanay Abhra tanay...@gmail.com --- cache.h | 5 + config.c | 16

Re: [PATCH v9 3/8] add line number and file name info to `config_set`

2014-08-07 Thread Junio C Hamano
Matthieu Moy matthieu@grenoble-inp.fr writes: Ramsay Jones ram...@ramsay1.demon.co.uk writes: ... diff --git a/cache.h b/cache.h ... +struct key_value_info { + const char *filename; + int linenr; +}; + I haven't checked, but does this series now include a user for this struct

Re: [PATCH v9 3/8] add line number and file name info to `config_set`

2014-08-07 Thread Matthieu Moy
Junio C Hamano gits...@pobox.com writes: Matthieu Moy matthieu@grenoble-inp.fr writes: Ramsay Jones ram...@ramsay1.demon.co.uk writes: ... diff --git a/cache.h b/cache.h ... +struct key_value_info { + const char *filename; + int linenr; +}; + I haven't checked, but does this