Stefan Beller writes:
> On Wed, Aug 23, 2017 at 12:13 PM, Junio C Hamano wrote:
>> Prathamesh Chavan writes:
>>
>>> +typedef void (*submodule_list_func_t)(const struct cache_entry *list_item,
>>> + void
On Wed, Aug 23, 2017 at 12:13 PM, Junio C Hamano wrote:
> Prathamesh Chavan writes:
>
>> +typedef void (*submodule_list_func_t)(const struct cache_entry *list_item,
>> + void *cb_data);
>> +
>> static char
Prathamesh Chavan writes:
> +typedef void (*submodule_list_func_t)(const struct cache_entry *list_item,
> + void *cb_data);
> +
> static char *get_default_remote(void)
> {
> char *dest = NULL, *ret;
> @@ -353,17 +356,30 @@ static int
Introduce function for_each_submodule() and replace a loop
in module_init() with a call to it.
The new function will also be used in other parts of the
system in later patches.
Mentored-by: Christian Couder
Mentored-by: Stefan Beller
4 matches
Mail list logo