On 10/08/14 18:29, Junio C Hamano wrote:
> Ramsay Jones writes:
>
>> On 08/08/14 15:07, Tanay Abhra wrote:
>> ...
>>> (cc to Ramsay)
>>>
>>> The discussion in both threads (v8 and v9), boils down to this,
>>> is the `key_value_info` struct really required to be declared public or
>>> should be
>
Ramsay Jones writes:
> On 08/08/14 15:07, Tanay Abhra wrote:
> ...
>> (cc to Ramsay)
>>
>> The discussion in both threads (v8 and v9), boils down to this,
>> is the `key_value_info` struct really required to be declared public or
>> should be
>> just an implementation detail. I will give you th
On 08/08/14 15:07, Tanay Abhra wrote:
> On 8/8/2014 2:01 AM, Junio C Hamano wrote:
>> Matthieu Moy writes:
>>
> Why is this needed? Are you now using key_value_info outside config.c?
> Or is it a leftover from a previous experiment?
Has this been resolved in the new round?
>>>
>>
On 8/8/2014 2:01 AM, Junio C Hamano wrote:
> Matthieu Moy writes:
>
Why is this needed? Are you now using key_value_info outside config.c?
Or is it a leftover from a previous experiment?
>>>
>>> Has this been resolved in the new round?
>>
>> Tanay explained in another subthread why this
Matthieu Moy writes:
>>> Why is this needed? Are you now using key_value_info outside config.c?
>>> Or is it a leftover from a previous experiment?
>>
>> Has this been resolved in the new round?
>
> Tanay explained in another subthread why this was needed. For callers
> iterating over the string_
Junio C Hamano writes:
> Matthieu Moy writes:
>
>> Tanay Abhra writes:
>>
>>> --- a/cache.h
>>> +++ b/cache.h
>>> @@ -1406,8 +1406,14 @@ extern int git_config_get_bool(const char *key, int
>>> *dest);
>> [...]
>>> +struct key_value_info {
>>> + const char *filename;
>>> + int linenr;
>>> +
Matthieu Moy writes:
> Tanay Abhra writes:
>
>> --- a/cache.h
>> +++ b/cache.h
>> @@ -1406,8 +1406,14 @@ extern int git_config_get_bool(const char *key, int
>> *dest);
> [...]
>> +struct key_value_info {
>> +const char *filename;
>> +int linenr;
>> +};
> [...]
>> diff --git a/config.c b
Tanay Abhra writes:
> --- a/cache.h
> +++ b/cache.h
> @@ -1406,8 +1406,14 @@ extern int git_config_get_bool(const char *key, int
> *dest);
[...]
> +struct key_value_info {
> + const char *filename;
> + int linenr;
> +};
[...]
> diff --git a/config.c b/config.c
> index cf9124f..427850a 10
[Patch v8]: git_die_config now allows custom error messages.
new tests are now not too reliant on specific strings. Diff
between v7 & v8 is appended at the bottom. Thanks to Junio &
Matthieu for their suggestions.
[Patch v7]: style nit corrected. (1/8) is Matthieu's transla
9 matches
Mail list logo