On Tue, Nov 1, 2016 at 8:13 PM, Junio C Hamano wrote:
>
>>> + return -1;
>
> Perhaps do the usual
>
> return error(_("..."));
>
> here?
Ok, it will be in the next version.
Duy Nguyen writes:
> On Sun, Oct 23, 2016 at 4:26 PM, Christian Couder
> wrote:
>> This new function will be used in a following commit to get the
>> +int git_config_get_max_percent_split_change(void)
>> +{
>> + int val = -1;
>> +
>> + if (!git_config_get_int("splitindex.maxpercentch
On Tue, Oct 25, 2016 at 12:06 PM, Duy Nguyen wrote:
> On Sun, Oct 23, 2016 at 4:26 PM, Christian Couder
> wrote:
>> This new function will be used in a following commit to get the
>> +int git_config_get_max_percent_split_change(void)
>> +{
>> + int val = -1;
>> +
>> + if (!git_config_
On Sun, Oct 23, 2016 at 4:26 PM, Christian Couder
wrote:
> This new function will be used in a following commit to get the
> +int git_config_get_max_percent_split_change(void)
> +{
> + int val = -1;
> +
> + if (!git_config_get_int("splitindex.maxpercentchange", &val)) {
> +
This new function will be used in a following commit to get the
value of the "splitIndex.maxPercentChange" config variable.
Signed-off-by: Christian Couder
---
cache.h | 1 +
config.c | 16
2 files changed, 17 insertions(+)
diff --git a/cache.h b/cache.h
index 394da60..facece
5 matches
Mail list logo