Re: [PATCH] clone: add `--remote-submodules` flag
- Date: Thu, 16 May 2019 18:31:53 +0700
- From: Duy Nguyen <pclouds@xxxxxxxxx>
- Subject: Re: [PATCH] clone: add `--remote-submodules` flag
On Tue, May 14, 2019 at 2:46 AM Ben Avison <bavison@xxxxxxxxxxxxxx> wrote:
> When using `git clone --recurse-submodules` there was previously no way to
> pass a `--remote` switch to the implicit `git submodule update` command for
> any use case where you want the submodules to be checked out on their
> remote-tracking branch rather than with the SHA-1 recorded in the superproject.
Are there any other submodule options that could be useful passing
from git-clone as well? What I'm getting at is, if there are multiple
of them, perhaps we need a different/generic approach than introducing
a bunch of --<something>-submodules. But of course if --remote is the
only useful one left, then it's moot.