Re: [PATCH 2/2] clone: remember references for submodules even when not recursing
- From
- Brandon Williams <bmwill@google.com>
- Date
- Apr 20, 2017, 22:12 UTC
- Message-ID
- <20170420221255.GI142567@google.com>
- In-Reply-To
- <20170411194616.4963-3-sbeller@google.com>
On 04/11, Stefan Beller wrote:
Show 10 quoted lines
> The commit 31224cbdc7 (clone: recursive and reference option triggers > submodule alternates, 2016-08-17) argued for any further `submodule update` > to respect the initial setup. This is not the case if you only pass > '--reference[-if-able]' to the initial clone without instructing to > recurse into submodules. > > If there are submodules however the user is likely to later run > a 'submodule update --init' to obtain the submodules. In this case we > also want to have the references available. >
So the idea is to keep the references around even if the user doesn't want to recurse immediately?
-- Brandon Williams