Feature Request: Submodule Warning When Cloning Repos
- From
- Geoffrey Knopf <gknopf@spideroak-inc.com>
- Date
- Sep 16, 2021, 16:59 UTC
- Message-ID
- <SA1PR17MB46101CC190E4CDDD00F2AD2C9BDC9@SA1PR17MB4610.namprd17.prod.outlook.com>
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.