Re: [PATCH 6/7] config: add `git_die_config()` to the config-set API

2014-07-31 Thread Matthieu Moy
Tanay Abhra writes: > + if (!kv_info->linenr) > + die("unable to parse '%s' from command-line config", key); > + else > + die("bad config variable '%s' at file line %d in %s", And two more missing _(...). -- Matthieu Moy http://www-verimag.imag.fr/~moy/ -- To un

[PATCH 6/7] config: add `git_die_config()` to the config-set API

2014-07-31 Thread Tanay Abhra
Add `git_die_config` that dies printing the line number and the file name of the highest priority value for the configuration variable `key`. It has usage in non-callback based config value retrieval where we can raise an error and die if there is a semantic error. For example, if (!git_c

[PATCH 6/7] config: add `git_die_config()` to the config-set API

2014-07-23 Thread Tanay Abhra
Add `git_die_config` that dies printing the line number and the file name of the highest priority value for the configuration variable `key`. It has usage in non-callback based config value retrieval where we can raise an error and die if there is a semantic error. For example, if (!git_c