Re: [PATCH] submodule--helper: set alternateLocation for cloned submodules
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 7, 2016, 20:18 UTC
- Message-ID
- <xmqq4m2fxzl2.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <CAGZ79kY3LR2KA69b4iDJb164EhJLb3JuVSRRcN0-4-kp-eryog@mail.gmail.com>
Stefan Beller <sbeller@google.com> writes:
Show 6 quoted lines
>> This patch makes all not just the root repository, but also >> all submodules (recursively) have submodule.alternateLocation >> and submodule.alternateErrorStrategy configured, making Git >> search for possible alternates for nested submodules as well. > > Sounds great!
Is it safe to assume that all the submodules used recursively by submodules share the same structure upstream? Does the alternate location mechanism degrades sensibly if this assumption turns out to be false (i.e. "possible alternates" above turns out to be mere possibility and not there)?