Re: [PATCH v4 2/3] config: add 'type' to config_source struct that identifies config type

2016-02-18 Thread Lars Schneider
On 17 Feb 2016, at 14:12, Johannes Schindelin wrote: > Hi Lars, > > On Mon, 15 Feb 2016, larsxschnei...@gmail.com wrote: > >> From: Lars Schneider >> >> Use the config type to print more detailed error messages that inform >> the user about the origin of a config error (file, stdin, blob).

Re: [PATCH v4 2/3] config: add 'type' to config_source struct that identifies config type

2016-02-17 Thread Johannes Schindelin
Hi Lars, On Mon, 15 Feb 2016, larsxschnei...@gmail.com wrote: > From: Lars Schneider > > Use the config type to print more detailed error messages that inform > the user about the origin of a config error (file, stdin, blob). Given that you settled on `--show-origin` as the command-line option

Re: [PATCH v4 2/3] config: add 'type' to config_source struct that identifies config type

2016-02-16 Thread Ramsay Jones
On 15/02/16 17:42, Jeff King wrote: > On Mon, Feb 15, 2016 at 11:17:45AM +0100, larsxschnei...@gmail.com wrote: > >> From: Lars Schneider >> >> Use the config type to print more detailed error messages that inform >> the user about the origin of a config error (file, stdin, blob). >> >> Signed-

Re: [PATCH v4 2/3] config: add 'type' to config_source struct that identifies config type

2016-02-15 Thread Ramsay Jones
On 15/02/16 10:17, larsxschnei...@gmail.com wrote: > From: Lars Schneider > > Use the config type to print more detailed error messages that inform > the user about the origin of a config error (file, stdin, blob). > > Signed-off-by: Lars Schneider > --- > cache.h| 6 --

Re: [PATCH v4 2/3] config: add 'type' to config_source struct that identifies config type

2016-02-15 Thread Jeff King
On Mon, Feb 15, 2016 at 11:17:45AM +0100, larsxschnei...@gmail.com wrote: > From: Lars Schneider > > Use the config type to print more detailed error messages that inform > the user about the origin of a config error (file, stdin, blob). > > Signed-off-by: Lars Schneider > --- > cache.h

[PATCH v4 2/3] config: add 'type' to config_source struct that identifies config type

2016-02-15 Thread larsxschneider
From: Lars Schneider Use the config type to print more detailed error messages that inform the user about the origin of a config error (file, stdin, blob). Signed-off-by: Lars Schneider --- cache.h| 6 -- config.c | 36 +--- su