Re: [PATCH 0/6] git clone: Marry --recursive and --reference
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 5, 2016, 21:47 UTC
- Message-ID
- <xmqqoa56vqfd.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <CAGZ79kY9Wry-vu9ByzW7Qc37SSkKf3doyWuzGzQeMTy4NfLMhA@mail.gmail.com>
Stefan Beller <sbeller@google.com> writes:
> The plan for other layouts might be > > git submodule update --reference-dir /var/cache/
That is not a plan for "other layouts", but a plan for "the other layout that was mentioned as a possibility". As I said, both layouts are equally plausible, and I do not know if we need to plan for layouts other than these two, but we should consider if we want to add one new option every time we find a new layout we need to support, or we want a general framework that is more flexible and allows us to make the "borrow from the $GIT_DIR/modules/ of the repository the superproject borrows from" a mere special case of it.
Thanks.