On Wed, Aug 17, 2016 at 2:31 PM, Junio C Hamano wrote:
> Junio C Hamano writes:
>
>> Stefan Beller writes:
>>
>>> +static void prepare_possible_alternates(const char *sm_name,
>>> +struct string_list *reference)
>>> +{
>>> +char *sm_alternate = NULL, *error_strategy = NULL;
>>> +
Junio C Hamano writes:
> Stefan Beller writes:
>
>> +static void prepare_possible_alternates(const char *sm_name,
>> +struct string_list *reference)
>> +{
>> +char *sm_alternate = NULL, *error_strategy = NULL;
>> +struct submodule_alternate_setup sas = SUBMODULE_ALTERNATE_SET
On Wed, Aug 17, 2016 at 1:02 PM, Junio C Hamano wrote:
> Stefan Beller writes:
>
>> +static void prepare_possible_alternates(const char *sm_name,
>> + struct string_list *reference)
>> +{
>> + char *sm_alternate = NULL, *error_strategy = NULL;
>> + struct submodule_alternate_s
Stefan Beller writes:
> +static void prepare_possible_alternates(const char *sm_name,
> + struct string_list *reference)
> +{
> + char *sm_alternate = NULL, *error_strategy = NULL;
> + struct submodule_alternate_setup sas = SUBMODULE_ALTERNATE_SETUP_INIT;
> +
> + git_confi
Stefan Beller writes:
> +int add_possible_reference_from_superproject(
> + struct alternate_object_database *alt, void *sas_cb)
> +{
> + struct submodule_alternate_setup *sas = sas_cb;
> +
> + ...
> + size_t namelen = alt->name - alt->base - 1;
> + struct strbuf name = STR
When `--recursive` and `--reference` is given, it is reasonable to
expect that the submodules are created with references to the submodules
of the given alternate for the superproject.
An initial attempt to do this was presented to the mailing list, which
used flags that are passed around ("--
6 matches
Mail list logo