superproject.
This patch rectifies this situation. It actually passes `--no-fetch` to
`git submodule update` as well on the grounds they the submodule has only just
been cloned, so fetching from the remote again only serves to slow things down.
Signed-off-by: Ben Avison
---
Documentation/git-clone.txt
On 13/05/2019 22:12, Ævar Arnfjörð Bjarmason wrote:
On Mon, May 13 2019, Ben Avison wrote:
+ if (option_remote_submodules == 1) {
I see you copied this from code above the context, but to check a bool
variable just use "if (var)" not "if (var == 1)".
OK
On 16/05/2019 12:31, Duy Nguyen wrote:
On Tue, May 14, 2019 at 2:46 AM Ben Avison 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
superproject.
This patch rectifies this situation. It actually passes `--no-fetch` to
`git submodule update` as well on the grounds they the submodule has only just
been cloned, so fetching from the remote again only serves to slow things down.
Signed-off-by: Ben Avison
---
Documentation/git-clone.txt
4 matches
Mail list logo