On Thu, Jun 9, 2016 at 1:40 PM, Junio C Hamano wrote:
> Junio C Hamano writes:
>
>> Stefan Beller writes:
>>
>>> instead. But that is still unspecified, so we rather go with
>>>
>>> static int compare_ce(const void *one, const void *two,
Junio C Hamano writes:
> Stefan Beller writes:
>
>> instead. But that is still unspecified, so we rather go with
>>
>> static int compare_ce(const void *one, const void *two, void *cb_data)
>> {
>> const struct cache_entry *ce_one = one, *ce_two = two;
Stefan Beller writes:
> instead. But that is still unspecified, so we rather go with
>
> static int compare_ce(const void *one, const void *two, void *cb_data)
> {
> const struct cache_entry *ce_one = one, *ce_two = two;
> return strcmp(ce_one->name, ce_two->name);
>
On Thu, Jun 9, 2016 at 12:19 PM, Junio C Hamano wrote:
> Stefan Beller writes:
>
>> +static int compare_ce(const void *one, const void *two, void *cb_data)
>> +{
>> + const struct cache_entry *ce_one = one, *ce_two = two;
>> + return ce_two -
Stefan Beller writes:
> +static int compare_ce(const void *one, const void *two, void *cb_data)
> +{
> + const struct cache_entry *ce_one = one, *ce_two = two;
> + return ce_two - ce_one;
> +}
This would work in practice, but I suspect that this is not ANSI-C
kosher;
Each submodule that is attempted to be cloned, will be retried once in
case of failure after all other submodules were cloned. This helps to
mitigate ephemeral server failures and increases chances of a reliable
clone of a repo with hundreds of submodules immensely.
The choice of the priority
6 matches
Mail list logo