git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geoffrey Knopf <gknopf@spideroak-inc.com>
To: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Feature Request: Submodule Warning When Cloning Repos
Date: Thu, 16 Sep 2021 16:59:12 +0000	[thread overview]
Message-ID: <SA1PR17MB46101CC190E4CDDD00F2AD2C9BDC9@SA1PR17MB4610.namprd17.prod.outlook.com> (raw)

Problem:
Easy to forget to clone submodules.

Existing Solutions:
Always clone repos that have submodules with the "--recurse-submodules" option.
Manually look inside the git ".submodules" file to see if there are any submodules and initialize and update them.

Request:
When performing a clone, warn the user if there are any submodules that have not been cloned.
Recommend that the user try the "--recurse-submodules" option next time or initialize and update the submodules.

             reply	other threads:[~2021-09-16 17:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-16 16:59 Geoffrey Knopf [this message]
2021-09-17  5:23 ` Feature Request: Submodule Warning When Cloning Repos Bagas Sanjaya
2021-09-17 16:26   ` [EXT] " Geoffrey Knopf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SA1PR17MB46101CC190E4CDDD00F2AD2C9BDC9@SA1PR17MB4610.namprd17.prod.outlook.com \
    --to=gknopf@spideroak-inc.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).