-
Notifications
You must be signed in to change notification settings - Fork 13.3k
include submodules with git clone --recursive #5882
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Since we have some submodules it is recomended to include them while cloning the project.
This will include sub-sub modules like full lwIP repo, which is not necessary.
(and not |
@d-a-v |
Currently there are two sub-sub-modules: lwIP and BearSSL.
I don't understand why it is needed.
I don't know the implication of this, I'd think it would break rebuilding |
This part of Readme.md provides a standard procedure for creating the full repository from git.
I did not want to go that far with Upstream, I just meant your repo. :-)
At this point, I see the same problem when we exclude sub-sub-modules with "git submodule update --init". Cons: In the specific case, an overhead of a few MByte unused sources The right decision can actually only be made within the sub-module So my opinion is clear: pro "git clone --recursive". Your knowledge of Github is certainly greater than mine, as I take your various tips for easy patching the github sources in this repo. |
Well you are right, it is documentation, I suggest adding this for completeness:
|
Instead of 'git clone --recursive' (which also clones submodules of submodules) this is the minimum for a submodule update. You may also need to run this update recursively ('git submodule update --init --recursive').
Since we have some submodules it is recomended to include them while cloning the project.